Closed
Description
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:
- I.9: If an interface is a template, document its parameters using concepts
- T.10: Specify concepts for all template arguments
No longer teach:
- T.48: If your compiler does not support concepts, fake them with
enable_if
- T.121: Use template metaprogramming primarily to emulate concepts
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;