Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
taylorconor
on June 12, 2019
|
parent
|
context
|
favorite
| on:
C++ Patterns: The Badge
I guess the inline function would require a Badge and the private member function would not. So an inline constructed but never used Badge is even more likely to be completely optimized away
dearrifling
on June 12, 2019
[–]
Exactly.
https://godbolt.org/z/j-THTX
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: