ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
TT_IsUnboxable< T, TEnableIf > Struct Template Reference
Inheritance diagram for TT_IsUnboxable< T, TEnableIf >:
[legend]
Collaboration diagram for TT_IsUnboxable< T, TEnableIf >:
[legend]

Class Description

template<typename T, typename TEnableIf = void>
struct aworx::lib::boxing::TT_IsUnboxable< T, TEnableIf >


This type is of std::true_type exactly if a type can not be unboxed and methods Box::IsType and Box::Unbox will fail to compile with that type.

With default boxing, one of the types T and T* are unboxable (depending on value type size and whether the type is copy constructible and trivially destructible).

If custom boxing for either or both of types T and T* is in place, then the given type is not unboxable if:

See also
Helpers TT_IsCustomized, TT_IsLocked and TT_IsNotBoxable.
Template Parameters
TThe type to check.
TEnableIfHelper type for implementing specializations of this struct.

Definition at line 502 of file typetraits.inl.


The documentation for this struct was generated from the following file: