We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
void operator&()
196: template <class X, size_t S = sizeof(std::declval< X&>().operator&()) >
This is not selected if operator& exists but returns void. It's also not selected if the call to operator& is ambiguous or is deleted.
operator&
void
(Ultimately, the right fix here is to make std::addressof be constexpr; in Clang, you can implement constexpr_addressof using __builtin_addressof.)
std::addressof
constexpr
constexpr_addressof
__builtin_addressof
The text was updated successfully, but these errors were encountered:
No branches or pull requests
196:
template <class X, size_t S = sizeof(std::declval< X&>().operator&()) >
This is not selected if
operator&
exists but returnsvoid
. It's also not selected if the call tooperator&
is ambiguous or is deleted.(Ultimately, the right fix here is to make
std::addressof
beconstexpr
; in Clang, you can implementconstexpr_addressof
using__builtin_addressof
.)The text was updated successfully, but these errors were encountered: