Lua-API++  2015-02-12-3
Lua-API++ library
TypeID< T > Struct Template Reference

Determine Lua type ID from native type. More...

Static Public Attributes

static constexpr ValueType typeID = genericTypeId<T>(nullptr)
 Result of metafunction.
 

Detailed Description

template<typename T>
struct lua::TypeID< T >

Determine Lua type ID from native type.

Use this metafunction to determine Lua type ID that corresponds to given native type in compile-time.