C++ - standard-layout -


this question has answer here:

according current c++ standard draft, standard-layout class

either has no non-static data members in derived class , @ 1 base class non-static data members, or has no base classes non-static data members

i have yet see implementation more efficient limitation. why exist (except making things more difficult)?

the purpose of standard-layout not efficiency, data-interoperability c


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -