Somethimes i need sets (or any other container) of 1 element of user's type and create them this way:
boost::assign::list_of(typeVariable).convert_to_container<std::unordered_set<UserType> >()
Do anyone know more beautiful way?
Aucun commentaire:
Enregistrer un commentaire