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
According to [expected.un.cons], if I understand correctly, is_constructible_v<unexpected<E>, expected<U, G>&> is true if and only if is_constructible_v<E, expected<U, G>&> is true (same for expected<U, G>, const expected<U, G>&, and const expected<U, G>).
So, it might be clearer to say is_constructible_v<E, meow> instead of is_constructible_v<unexpected<E>, meow> in the constraints.
The text was updated successfully, but these errors were encountered:
According to [expected.un.cons], if I understand correctly,
is_constructible_v<unexpected<E>, expected<U, G>&>
istrue
if and only ifis_constructible_v<E, expected<U, G>&>
istrue
(same forexpected<U, G>
,const expected<U, G>&
, andconst expected<U, G>
).So, it might be clearer to say
is_constructible_v<E, meow>
instead ofis_constructible_v<unexpected<E>, meow>
in the constraints.The text was updated successfully, but these errors were encountered: