Y
Hacker News
new
|
ask
|
show
|
jobs
by
thestoicattack
1888 days ago
You could also use std::bit_not
https://en.cppreference.com/w/cpp/utility/functional/bit_not
1 comments
Koshkin
1888 days ago
You could, but the raison d'ĂȘtre of these operators-as-types is their usefulness in metaprogramming.
link