carb::dictionary::toItemType< const char * >
Defined in carb/dictionary/DictionaryUtils.h
-
template<>
inline ItemType carb::dictionary::toItemType<const char*>() Specialization for an
const char*
item value.Helper function to convert a data type to a corresponding dictionary item type.
- Thread Safety
This operation is thread safe.
- Template Parameters
Type – The primitive data type to convert to a dictionary item type. This operation is undefined for types other than the handful of primitive types it is explicitly specialized for. If a another data type is used here, a link link error will occur.
- Returns
The dictionary item type corresponding to the templated primitive data type.