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 expected<T, E> object holds an object of type T or an object of type unexpected<E> [...]
which contradicts [expected.object.general]/1 which says (emphasis added):
Any object of type expected<T, E> either contains a value of type T or a value of type E within its own storage.
The description in [expected.general] is a leftover from the original proposal which was simplified during LWG review. The description in [expected.object.general] was fixed accordingly but the one in [expected.general] was missed.
Paragraph 1 states (emphasis added):
which contradicts [expected.object.general]/1 which says (emphasis added):
The description in [expected.general] is a leftover from the original proposal which was simplified during LWG review. The description in [expected.object.general] was fixed accordingly but the one in [expected.general] was missed.
@jwakely and @Dani-Hub might confirm.
The text was updated successfully, but these errors were encountered: