Hacker News new | ask | show | jobs
by JonChesterfield 1633 days ago
Kind of true for unique_ptr as a C++ construct.

Sadly if the platform ABI is not ignored there is (usually? might be free on some platforms) overhead relative to a void* when passing one between functions.

Also there's the usual code size / compile time hazards of templates.