xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
typeof.h
Go to the documentation of this file.
1
4#pragma once
5#include "ustring.h"
6
8namespace xtd {
10 namespace __s__ {
11 template<typename type_t>
12 std::string __typeof_() {
13 return xtd::ustring::full_class_name<type_t>();
14 }
15
16 template<typename type_t>
17 std::string __typeof_(const type_t& value) {
19 }
20 }
22
37 #define typeof_ \
38 xtd::__s__::__typeof_
39}
static ustring full_class_name()
Gets the fully qualified class name of the objec_t, including the namespace of the objec_t.
Definition: ustring.h:427
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.