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
HACK for clang: Remove protection for operator type()
While for gcc, I need to SFINAE-restrict the cast operator: `operator type() { return std::move(value); }`
to move-constructible types, clang fails with this protection, claiming that the cast operator isn't
created for e.g. std::string - although it is move-constructible.
Turns out, that it works on clang w/o the SFINAE protection, but then fails on gcc again. I didn't
look into MSVC yet.
0 commit comments