oatpp / oatpp-examples

List of example projects of how to use oat++ framework
https://oatpp.io/
Apache License 2.0
182 stars 24 forks source link

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

Open relaxtheo opened 2 years ago

relaxtheo commented 2 years ago

I have set a DTO like: DTO_FIELD(Vector, 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.