3 ms·
void could be an actual meaningful type for a template rather than a dummy type.
by Maxatar 2y ago
void could be an actual meaningful type for a template rather than a dummy type.
- ot 2y agoYou could say the same thing about std::monostate, which is not a dummy type. If you need a unique sentinel type you have to make one for that purpose.