Collections module
Cnx Collections provide ergonomic type-generic (where-applicable) type-safe collections with modern features and ergonomics
Modules
Defines
- #define cnx_collection_element_default_constructor(T)
- Macro alias for an element default-constructor for type
T - #define cnx_collection_element_copy_constructor(T)
- Macro alias for an element copy-constructor for type
T - #define cnx_collection_element_destructor(T)
- Macro alias for an element destructor for type
T - #define CnxCollectionData(CollectionType)
- Macro alias for a
CnxCollectionDatafor a collection of typeCollectionType
Define documentation
#define cnx_collection_element_default_constructor(T)
Macro alias for an element default-constructor for type T
| Parameters | |
|---|---|
| T | - The type returned by the constructor |
Used to generate and refer to a unique typedef name for the constructor
#define cnx_collection_element_copy_constructor(T)
Macro alias for an element copy-constructor for type T
| Parameters | |
|---|---|
| T | - The type returned by the constructor |
Used to generate and refer to a unique typedef name for the constructor
#define cnx_collection_element_destructor(T)
Macro alias for an element destructor for type T
| Parameters | |
|---|---|
| T | - The type destroyed by the destructor |
Used to generate and refer to a unique typedef name for the destructor
#define CnxCollectionData(CollectionType)
Macro alias for a CnxCollectionData for a collection of type CollectionType
| Parameters | |
|---|---|
| CollectionType | - The type of the collection associated with this CnxCollectionData |
Used to generate and refer to a unique typedef name for a particular collection instantiation's associated CnxCollectionData type.