3 ms·You can use void for that.by ot 2y agoYou can use void for that.Maxatar 2y agovoid 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.