c_plus_plus_aggregate
C++ Aggregate - CPP Aggregate
Return to CPP Topics
Aggregates are arrays and class types. A class type is a class, a struct, or a union.
With C++20, the following condition must hold for a class type being an aggregate.
No private or protected non-static data members
No user-declared or inherited constructors
No virtual, private, or protected base classes
© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.
c_plus_plus_aggregate.txt · Last modified: 2024/05/01 04:23 by 127.0.0.1