5 years, 8 months ago.

Implementation of the STL (vector)

I am trying to use std::vector I have tried my code in other compiler and it works However in mbed, I got an error when I use the "emplace_back" method of std::vector

The error says

Error: Class "std::vector<LabelProp, std::allocator<LabelProp>>" has no member "emplace_back" in "PreProcess.cpp", Line: 320, Col: 9

Is this method not implemented??

Is the compiler not supporting C++11?

Is there a way to tell the compiler to turn these features?

Be the first to answer this question.