|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
Composite aggregate More...
#include <cc/basics>
Public Types | |
| using | Value = T |
| Value type. | |
Public Member Functions | |
| template<class... Args> | |
| Composite (Args... args) | |
| Initial construction of the aggregate. | |
| T & | operator() () |
| Get reference to aggregate value. | |
| const T & | operator() () const |
| Get constant reference to aggregate value. | |
| long | useCount () const |
| Return the usage count for this aggregate | |
Composite aggregate
| T | Value type |
| using Value = T |
Value type.
Initial construction of the aggregate.
| args | construction arguments for the aggregate value |
| T & operator() | ( | ) |
Get reference to aggregate value.
| const T & operator() | ( | ) | const |
Get constant reference to aggregate value.
| long useCount | ( | ) | const |
Return the usage count for this aggregate