Re[7]: std::variant для вложенного класса
От: Великий Мессия google
Дата: 04.12.25 15:55
Оценка: 24 (2)
Здравствуйте, sergii.p, Вы писали:

SP>Здравствуйте, rg45, Вы писали:


R>>Вот если бы ещё получить ссылку на соответствующий пункт стандарта, было бы совсем здорово.


SP>[class.mem.general]


SP>

SP>[Note 4 : A complete-class context of a nested class is also a complete-class context of any enclosing class, if the nested
SP>class is defined within the member-specification of the enclosing class. — end note]
SP>7 A class is considered a completely-defined object type (6.8) (or complete type) at the closing } of the
SP>class-specifier. The class is regarded as complete within its complete-class contexts; otherwise it is regarded
SP>as incomplete within its own class member-specification.


о! нашел таки на llvm
работают над исправлением как я понял,но вяло

https://github.com/llvm/llvm-project/issues/60321
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.