|
xtd
0.2.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
6#if !defined(__XTD_CORE_INTERNAL__)
7#error "Do not include this file: Internal use only"
12template<
class type_t,
class bool_t>
13struct __box_enum_or_object__;
16struct __box_enum_or_object__<type_t, std::true_type> {
21struct __box_enum_or_object__<type_t, std::false_type> {
22 using type =
typename std::conditional<std::is_base_of<xtd::object, type_t>::value, type_t,
xtd::box<type_t>>::type;
std::type_info type
Stores information about a type.
Definition type.hpp:23
Represents a boxed object.
Definition box.hpp:56
Provides the base class for enumerations.
Definition enum_object.hpp:48