3 ms·
std::integral was added in C++20 , so this example will only work in C++20. Weird that the author used this example. https://en.cppreference.com/w/cpp/concepts
by Thorrez 3y ago
std::integral was added in C++20 , so this example will only work in C++20. Weird that the author used this example.
https://en.cppreference.com/w/cpp/concepts/integral https://en.cppreference.com/w/cpp/concepts/integral
- mmebane 3y agoIn this case, I think it's a typo, and should be std::is_integral: https://en.cppreference.com/w/cpp/types/is_integral https://en.cppreference.com/w/cpp/types/is_integral