Open
Description
erpc/erpc_c/infra/erpc_message_buffer.hpp
Line 364 in 2890823
How this API is currently, the user of it must have its own object, and the implementation of this API must create the object on its stack/global/whatever and then while returning copy constructor is called.
Why not to make it so the user jut give its object?
virtual MessageBuffer *create(MessageBuffer *buf) = 0;
Metadata
Assignees
Labels
No labels
Activity