lundi 5 janvier 2015

Could once_flag be movable?

How does it come, the standard says nothing about the movable'ity of once_flag? I would expect the same arguments to apply as for std::mutex. At least for gcc (version 4.8) moving seems to be disabled. If a certain compiler would allow moving, one could end up with non-portable code.


Aucun commentaire:

Enregistrer un commentaire