Discussion about this post

User's avatar
Eelis's avatar

In the "Must allocate to combine buffer sequences" example, if you already know you have 2 HeaderBuffers and 3 BodyBuffers, then you can avoid allocation by just using std::array or std::inplace_vector instead of std::vector.

Borislav Grebenar's avatar

Nice and clear! Thanks!

9 more comments...

No posts

Ready for more?