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
base b{1};
derived d(1, 2);
tl::optional<base&> b3{d2}; // error
tl::optional<const base&> b3a{d2}; // works
The optional is deep const, so when rhs is called with an optionalconst& the type is U const&, and the delegated constructor can't convert the addressof(u) to a T