jeudi 26 mars 2015

boost::flyweight struct alignment

I have below struct with flyweight



struct __attribute__ ((aligned (?)))
{
flyweight<std::string> name;
int id;
...
}


what should I put in the place of question mark, alignof(flyweight)?


Aucun commentaire:

Enregistrer un commentaire