3 ms·
Hm, I guess this is moving in the direction of a debate on semantics and API design... which is independent of the original topic. I don’t know what stable_sea
by jmull 6y ago
Hm, I guess this is moving in the direction of a debate on semantics and API design... which is independent of the original topic.
I don’t know what stable_search is, but it would be a design decision if/how it supports different memory management options for buffers, and isn’t really affected by the decision to use a class or top-level function for implementation. Either way, buffer allocation could be hidden in the implementation and out of the user’s control or exposed to some degree and under the user’s control.