27 template<
class type_t>
28 auto type_of() noexcept -> const xtd::
type_object& {
29 static auto instance = xtd::type_object {
typeid(type_t)};
50 auto type_of(
const auto& value)
noexcept -> xtd::type_object {
return xtd::type_object {
typeid(value)};}
69 inline auto type_of(
const xtd::type& value)
noexcept -> xtd::type_object {
return xtd::type_object {value};}
Represents type declarations: class types, interface types, array types, value types,...
Definition type_object.hpp:37
std::type_info type
Stores information about a type.
Definition type.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::string alias.
Contains xtd::type_object class.