oatpp-examples icon indicating copy to clipboard operation
oatpp-examples copied to clipboard

How to return a std::vector data back to caller?

Open relaxtheo opened this issue 4 years ago • 0 comments

I have set a DTO like: DTO_FIELD(Vector<Float32>, MatrixData, "MatrixData");

In application, how can I set a std::vector value to the MatrixData? The example seems uses orm, but I have no database and I think there should be some way to use C++ data straightly.

relaxtheo avatar Nov 11 '21 12:11 relaxtheo