xtd 0.2.0
language_id.h
Go to the documentation of this file.
1 #pragma once
5 #include "enum.h"
6 
8 namespace xtd {
17  enum class language_id {
19  unknown = -1,
21  cpp_pre98 = 0,
23  cpp98,
25  cpp11,
27  cpp14,
29  cpp17,
31  cpp20,
33  cpp23,
34  };
35 }
36 
38 template<> struct xtd::enum_register<xtd::language_id> {
39  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"}};}
40 };
The language is c++11.
language_id
Identifies the c++ language used by assembly.
Definition: language_id.h:17
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The language is c++17.
The language is pre 98.
The language is c++23.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Contains enum_ and enum_ut_ keywords.
The language is c++98.
The processor architecture is unknown.
The language is c++14.
The language is c++20.
Provides the registration struct for enumerations.
Definition: enum_register.h:36