You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example in [dcl.init.list] p6 says that "assuming that the implementation can construct an initializer_list object with a pair of pointers". However, it seems unclear in the example itself whether the corresponding constructor can be exposed to users.
Presumably, the additional constructor shouldn't be public since [initializer.list.syn] doesn't show it. Should we clarify this in the example?
(The pointer-pair constructor is public in MSVC STL. But I guess such implementation divergence is just because of some restrictions in MSVC and no LWG issue is needed.)
The text was updated successfully, but these errors were encountered:
An example in [dcl.init.list] p6 says that "assuming that the implementation can construct an
initializer_list
object with a pair of pointers". However, it seems unclear in the example itself whether the corresponding constructor can be exposed to users.Presumably, the additional constructor shouldn't be public since [initializer.list.syn] doesn't show it. Should we clarify this in the example?
(The pointer-pair constructor is public in MSVC STL. But I guess such implementation divergence is just because of some restrictions in MSVC and no LWG issue is needed.)
The text was updated successfully, but these errors were encountered: