We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
A natural extension to 63efa6e.
Will your feature suggestion eliminate X% of security vulnerabilities of a given kind in current C++ code? No.
Will your feature suggestion automate or eliminate X% of current C++ guidance literature?
(Make it possible to) make the default:
No longer teach:
enable_if
Describe alternatives you've considered. https://cpp2.godbolt.org/z/Mr9TMo7xG:
i: <T> type // requires std::integral<T> == std::enable_if< std::integral<T>, std::make_signed<T> >::type::type;
The text was updated successfully, but these errors were encountered:
This is better dealt with after #486.
A test: https://cpp2.godbolt.org/z/bxsvexdxr.
integer_t: <T> type requires std::integral<T> == T; integer_v: <V: _> _ requires std::integral<decltype(V)> == V; main: () = { std::ignore = integer_t<u32>(integer_v<:u32 = 0>); static_assert(!std::invocable<decltype(:<T> (x: T) -> integer_t<T> = {}), std::nullptr_t>); static_assert(!std::invocable<decltype(:<T> (x: T) -> std::type_identity_t<decltype(integer_v<:T = nullptr>)> = {}), std::nullptr_t>); }
Sorry, something went wrong.
No branches or pull requests
A natural extension to 63efa6e.
Will your feature suggestion eliminate X% of security vulnerabilities of a given kind in current C++ code? No.
Will your feature suggestion automate or eliminate X% of current C++ guidance literature?
(Make it possible to) make the default:
No longer teach:
enable_if
Describe alternatives you've considered.
https://cpp2.godbolt.org/z/Mr9TMo7xG:
The text was updated successfully, but these errors were encountered: