Re:RFC: C++ Buffer Hardening
by gpderetta on Thursday October 06, 2022 @05:59AM
(#33106419)
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.
[ Parent
| on HN ]
Depends on the implementation of helper functions and if external templates are being used.
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.