4 ms·
You could also use std::bit_not https://en.cppreference.com/w/cpp/utility/functional/bit_not https://en.cppreference.com/w/cpp/utility/functional/bit_not
by thestoicattack 5y ago
You could also use std::bit_not
https://en.cppreference.com/w/cpp/utility/functional/bit_not https://en.cppreference.com/w/cpp/utility/functional/bit_not
- Koshkin 5y agoYou could, but the raison d'être of these operators-as-types is their usefulness in metaprogramming.