xtd 0.2.0
Loading...
Searching...
No Matches
language_id.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "enum.hpp"
6
8namespace xtd {
17 enum class language_id {
19 unknown = 0,
21 cpp_pre98 = 1,
23 cpp98 = 199711,
25 cpp11 = 201103,
27 cpp14 = 201402,
29 cpp17 = 201703,
31 cpp20 = 202002,
33 cpp23 = 202302,
36 cpp26 = 202601,
39 cpp29 = 202901,
40 };
41}
42
44template<> struct xtd::enum_register<xtd::language_id> {
45 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::language_id> {{xtd::language_id::unknown, "unknown"}, {xtd::language_id::cpp_pre98, "cpp_pre98"}, {xtd::language_id::cpp98, "cpp98"}, {xtd::language_id::cpp11, "cpp11"}, {xtd::language_id::cpp14, "cpp14"}, {xtd::language_id::cpp17, "cpp17"}, {xtd::language_id::cpp20, "cpp20"}, {xtd::language_id::cpp23, "cpp23"}, {xtd::language_id::cpp26, "cpp26"}, {xtd::language_id::cpp29, "cpp29"}};}
46};
Contains enum_ and enum_ut_ keywords.
language_id
Identifies the c++ language used by assembly.
Definition language_id.hpp:17
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
@ cpp14
The language is c++14.
@ cpp98
The language is c++98.
@ cpp23
The language is c++23.
@ cpp20
The language is c++20.
@ cpp26
The language is c++26.
@ cpp_pre98
The language is pre 98.
@ cpp29
The language is c++29.
@ 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 xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38