#include <parametric_type.h>
Public Member Functions | |
maxon::Result< TupleDataType > | Instantiate (const maxon::Block< const DataType > &types) const |
maxon::Result< TupleDataType > | Instantiate (const maxon::Block< const Member > &members) const |
maxon::Result<TupleDataType> Instantiate | ( | const maxon::Block< const DataType > & | types | ) | const |
Returns a TupleDataType with members of the given types
. On the first invocation for a specific types
array, the data type will be constructed, later invocations will return the same data type object. The identifier of a tuple data type is a parenthesized list of the identifiers of the member types.
[in] | types | Array of member types for the tuple data type. |
maxon::Result<TupleDataType> Instantiate | ( | const maxon::Block< const Member > & | members | ) | const |