Re:Why C++ Sails When the Vasa Sank [pdf]
by detrino on Tuesday June 24, 2014 @07:39AM
(#7937144)
Most programming languages implicitly type erase closures, C++ does not. Type erasure can come at the cost of heap allocation and indirect function calls. If you need type erasure in C++ you can put any callable type inside std::function.
[ Parent
| on HN ]
There are no comments on this comment yet.