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
Sorry for the lag... following @xaxxon, I tried this repro and pasing the code seems to work: https://msvc.godbolt.org/z/hPM4E8
I'll close this as no-repro for now, but if I missed anything please let me know and we can reopen it. Thanks!
The constructor
constexpr not_null(const not_null<U>& other) : not_null(other.get())
was introduced in this commit with the purpose of facilitating the conversion, and thus avoiding a call to
operator T()
The problem is the constness of the parameter, which prevents this code from taking advantage of this constructor
Is there any reason in particular?
The text was updated successfully, but these errors were encountered: