40 inline std::ostream& operator<<(std::ostream& os,
platform_id value) {
return os <<
to_string(value, {{
platform_id::unknown,
"unknown"}, {
platform_id::win32s,
"win32s"}, {
platform_id::win32_windows,
"win32_windows"}, {
platform_id::win32_nt,
"win32_nt"}, {
platform_id::win_ce,
"win_ce"}, {
platform_id::unix,
"unix"}, {
platform_id::xbox,
"xbox"}, {
platform_id::macos,
"macos"}, {
platform_id::ios,
"ios"}, {
platform_id::android,
"android"}});}
41 inline std::wostream& operator<<(std::wostream& os,
platform_id value) {
return os <<
to_string(value, {{
platform_id::unknown, L
"unknown"}, {
platform_id::win32s, L
"win32s"}, {
platform_id::win32_windows, L
"win32_windows"}, {
platform_id::win32_nt, L
"win32_nt"}, {
platform_id::win_ce, L
"win_ce"}, {
platform_id::unix, L
"unix"}, {
platform_id::xbox, L
"xbox"}, {
platform_id::macos, L
"macos"}, {
platform_id::ios, L
"ios"}, {
platform_id::android, L
"android"}});}
platform_id
Identifies the operating system, or platform, supported by an assembly.
Definition: platform_id.h:17
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37
@ unknown
The processor architecture is unknown.
@ win_ce
The operating system is Windows CE.
@ win32s
The operating system is Win32s. Win32s is a layer that runs on 16-bit versions of Windows to provide ...
@ xbox
The development platform is Xbox 360.
@ win32_nt
The operating system is Windows NT or later.
@ macos
The operating system is Macintosh.
@ unix
The operating system is Unix.
@ ios
The operating system is IOs Apple.
@ unknown
The operating system is unknown.
@ android
The operating system is Android.
@ win32_windows
The operating system is Windows 95 or Windows 98.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.