我有一个问题,我需要
push_back
一个结构。结构就是这样的。
struct RChar
int x;
int y;
string letter;
struct PResult
int conf;
string name;
std::vector<RChar> char_details;
class IResults
IResults(){};
~IResults(){};
float processing_time_ms;
int index;
std::vector<PResult> topPResults;
// use case
IResults* myres = new IResults();