#include <parametric_type.h>
Helper to add multiple ParametricType on top of a DataType.
◆ Instantiate() [1/2]
Create a DataType decorated with the requested ParametricType.
- Parameters
-
[in] | type | The base type. |
[in] | decoType | The single decoration. |
- Returns
- A decorated DataType for Christmas party.
◆ Instantiate() [2/2]
static Result<DataType> Instantiate |
( |
const DataType & |
type, |
|
|
TYPEDECORATOR1 |
decoType, |
|
|
TYPEDECORATOR... |
decoTypes |
|
) |
| |
|
static |
Create a DataType decorated with the requested ParametricType.
- Template Parameters
-
TYPEDECORATOR1 | The first decoration type. |
TYPEDECORATOR | Remaining decoration types to add. |
- Parameters
-
[in] | type | The base type. |
[in] | decoType | The single decoration. |
[in] | decoTypes | The remaining decorations to apply. |
- Returns
- A decorated DataType for Christmas party.