6#if !defined(__XTD_CORE_INTERNAL__)
7#error "Do not include this file: Internal use only"
12template<
typename type_t,
typename bool_t>
13struct __box_enum_or_object__;
15template<
typename type_t>
16struct __box_enum_or_object__<type_t, std::true_type> {
20template<
typename type_t>
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;
Represents a boxed object.
Definition box.hpp:53
Provides the base class for enumerations.
Definition enum_object.hpp:42
std::type_info type
Stores information about a type.
Definition type.hpp:23