Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

void could be an actual meaningful type for a template rather than a dummy type.


You 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: