dimanche 24 juillet 2016

Does Qt's moc/C++11 have an equivalent of C#'s nameof() operator?

Does Qt's moc/C++11 have an equivalent of C#'s nameof() operator? Qt has the moc system which is/does some kind of reflection but I can't figure out how get the variable name like C#'s nameof(). Is this possible?

Aucun commentaire:

Enregistrer un commentaire