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
Where optional<T> inherits optional<T>::construct via a series
of classes, optional<T&> does not. This means that
optional<T&>::emplace() was broken and called into a member function
that did not exist.
This replaces the functionality to make optional<T&>::emplace() change
the stored reference to the new one. Note that it does _not_ emplace
the referee, as this would lead to questionable behavior when the
optional holds nullopt.
This was revealed by a change in LLVM, see
llvm/llvm-project#90152 and
ROCm#404.
0 commit comments