Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gpderetta
on Oct 6, 2022
|
parent
|
context
|
favorite
| on:
RFC: C++ Buffer Hardening
Even if not inlined at -O0, when instantiated for a custom some_type, the standard library .so won't contain any code for it, everything will be in the application binary.
pjmlp
on Oct 6, 2022
[–]
Depends on the implementation of helper functions and if external templates are being used.
gpderetta
on Oct 6, 2022
|
parent
[–]
extern templates won't help for user defined types of course as the standard library couldn't possibly have instantiations for them :).
Some non template helpers might be improved of course.
pjmlp
on Oct 6, 2022
|
root
|
parent
[–]
They help for common types like std::string.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: