[#BloombergLP-balcl-OptionType-EnumToType-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OptionType.adoc[OptionType]::EnumToType
:relfileprefix: ../../../
:mrdocs:

Metafunction that maps an `Enum` value to its corresponding C&plus;&plus; type&period;

== Synopsis

Declared in `&lt;balcl&lowbar;optiontype&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:BloombergLP/balcl/OptionType/Enum.adoc[Enum] TYPE&lowbar;ENUMERATOR&gt;
struct EnumToType;
----

== Description

`EnumToType&lt;TYPE&lowbar;ENUMERATOR&gt;&colon;&colon;type` is the (C&plus;&plus;) type corresponding to the (template parameter) `TYPE&lowbar;ENUMERATOR` `Enum` value&period; See `TypeToEnum` for the inverse metafunction&period;

== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balcl/OptionType/EnumToType-012.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;BOOL&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;BOOL`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-082.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;CHAR&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;CHAR`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-03d.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;CHAR&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;CHAR&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-089.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;DATE&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;DATE`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-01c.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;DATETIME&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;DATETIME`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-09.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;DATETIME&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;DATETIME&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-00.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;DATE&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;DATE&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-06.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;DOUBLE&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;DOUBLE`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-015.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;DOUBLE&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;DOUBLE&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-0bd.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;INT&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;INT`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-051.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;INT64&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;INT64`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-04.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;INT64&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;INT64&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-0b08.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;INT&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;INT&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-08d.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;STRING&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;STRING`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-07.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;STRING&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;STRING&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-031.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;TIME&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;TIME`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-05f.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;TIME&lowbar;ARRAY&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;TIME&lowbar;ARRAY`&period;
| xref:BloombergLP/balcl/OptionType/EnumToType-0b07.adoc[`EnumToType&lt;OptionType&colon;&colon;e&lowbar;VOID&gt;`] 
| Specialization of `EnumToType` for `e&lowbar;VOID`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
