2 years, 4 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?

Comment on this question
Be the first to answer this question.

You need to log in to post a question