xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
xtd.core
include
xtd
language_id.h
Go to the documentation of this file.
1
#pragma once
5
#include "
ustring.h
"
6
8
namespace
xtd
{
16
enum class
language_id
{
18
unknown
= -1,
20
cpp_pre98
= 0,
22
cpp98
,
24
cpp11
,
26
cpp14
,
28
cpp17
,
30
cpp20
31
};
32
33
inline
std::ostream& operator<<(std::ostream& os,
language_id
value) {
return
os <<
to_string
(value, {{
language_id::unknown
,
"unknown"
}, {
language_id::cpp_pre98
,
"cpp_pre98"
}, {
language_id::cpp98
,
"cpp98"
}, {
language_id::cpp11
,
"cpp11"
}, {
language_id::cpp14
,
"cpp14"
}, {
language_id::cpp17
,
"cpp17"
}, {
language_id::cpp20
,
"cpp20"
}});}
34
inline
std::wostream& operator<<(std::wostream& os,
language_id
value) {
return
os <<
to_string
(value, {{
language_id::unknown
, L
"unknown"
}, {
language_id::cpp_pre98
, L
"cpp_pre98"
}, {
language_id::cpp98
, L
"cpp98"
}, {
language_id::cpp11
, L
"cpp11"
}, {
language_id::cpp14
, L
"cpp14"
}, {
language_id::cpp17
, L
"cpp17"
}, {
language_id::cpp20
, L
"cpp20"
}});}
35
}
xtd::language_id
language_id
Identifies the c++ language used by assembly.
Definition:
language_id.h:16
xtd::to_string
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
xtd::language_id::cpp14
@ cpp14
The language is c++14.
xtd::language_id::cpp98
@ cpp98
The language is c++98.
xtd::language_id::cpp20
@ cpp20
The language is c++20.
xtd::language_id::cpp_pre98
@ cpp_pre98
The language is pre 98.
xtd::language_id::unknown
@ unknown
The language is unknown.
xtd::language_id::cpp11
@ cpp11
The language is c++11.
xtd::language_id::cpp17
@ cpp17
The language is c++17.
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
ustring.h
Contains xtd::ustring class.
Generated on Mon Jul 17 2023 23:13:04 for xtd - Reference Guide by
Gammasoft
. All rights reserved.