40 static bool is_64_bit()
noexcept {
return sizeof(size_t) == 8;}
60#elif defined(__clang__)
62#elif defined(__GNUC__)
69#elif defined(__clang__)
70 xtd::version version_ {__clang_major__ , __clang_minor__, __clang_patchlevel__};
71#elif defined(__GNUC__)
72 xtd::version version_ {__GNUC__ , __GNUC_MINOR__, __GNUC_PATCHLEVEL__};
Contains xtd::build_type enum class.
Represents information about c++ libraries, such as the version and standard identifier....
Definition: compiler.h:23
xtd::ustring to_string() const noexcept
Converts the value of this operating_system object to its equivalent string representation.
Definition: compiler.h:55
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition: version.h:93
Contains xtd::compiler_id enum class.
build_type
Identifies the build type.
Definition: build_type.h:16
compiler_id
Identifies the compiler, supported by an assembly.
Definition: compiler_id.h:16
@ release
Build type release.
@ clang
The compiler is clang.
@ unknown
The compiler is unknown.
@ gcc
The compiler is gcc.
@ microsoft_visual_studio
The compiler is Microsoft Visual Studio.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::object class.
Contains xtd::ustring class.
Contains xtd::version class.