Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cjhanks
on June 11, 2019
|
parent
|
context
|
favorite
| on:
C++ Patterns: The Badge
I had never seen this before, I cannot think of another way to do this. I suspect it has 1 byte overhead (on the stack) cost, but that's pretty cheap and may be optimized out.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: