mardi 3 février 2015

How to insert a conditional_variable object into a Vector?

conditional_variable is not CopyConstructible, MoveConstructible, CopyAssignable, MoveAssignable.


Can we call like this



vector<conditional_variable> cond;

conditional_variable c1;
conditional_variable c2;
cond.push_back(c1);
cond.push_back(c2);


What is the right way to proceed in these scenarios


Aucun commentaire:

Enregistrer un commentaire