Itasca C++ Interface
|
A container, which either stores its value as a value or a pointer depending on the condition. More...
#include <type_selector.h>
Additional Inherited Members | |
Static Public Attributes inherited from itasca::type_selector< condition, T, T * > | |
static const bool | result |
A container, which either stores its value as a value or a pointer depending on the condition.
This is a more specific version of the same trick used by type_selector, which abstracts away whether a type is a pointer or a value. Primary user is VUserType<T>, where it enables types larger than the data buffer by automatically storing them as a pointer.