lundi 23 février 2015

Interpretation of the words "constructor's class" in §12.6.2/2 in the C++11 Standard

As a sanity check, could someone confirm if the words constructor's class in this statement of §12.6.2/2 refer to a delegating constructor?


12.6.2/2 statement:



Unless the mem-initializer-id names the constructor’s class, a non-static data member of the constructor’s class, or a direct or virtual base of that class, the mem-initializer is ill-formed.



Aucun commentaire:

Enregistrer un commentaire