irccd
3.0.3
|
Operations on different types. More...
Operations on different types.
This class provides some functions for the given type, depending on the nature of the function.
For example, push will call type_traits<T>::push static function if the type_traits is implemented for that given T type.
This helps passing/getting function between Javascript and C++ code.
Example:
This class is specialized for the following types:
bool
,duk_int_t
,duk_uint_t
,duk_double_t
,const char*
,std::string
,std::string_view
.Regarding exceptions, this class is specialized for the following types: