xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
language_id.h
Go to the documentation of this file.
1
4#pragma once
5#include "ustring.h"
6
8namespace 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}
language_id
Identifies the c++ language used by assembly.
Definition language_id.h:16
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
@ cpp14
The language is c++14.
@ cpp98
The language is c++98.
@ cpp20
The language is c++20.
@ cpp_pre98
The language is pre 98.
@ unknown
The language is unknown.
@ cpp11
The language is c++11.
@ cpp17
The language is c++17.
@ unknown
The processor architecture is unknown.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::ustring class.