Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Maxatar
on July 22, 2024
|
parent
|
context
|
favorite
| on:
What's the point of std:monostate? You can't do an...
void could be an actual meaningful type for a template rather than a dummy type.
ot
on July 23, 2024
[–]
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: