xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
compiler_id.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum.hpp
"
6
8
namespace
xtd
{
20
enum class
compiler_id
{
22
unknown
= -1,
24
msvc
,
26
clang
,
28
gcc
,
30
apple_clang
,
33
microsoft_visual_studio
[[deprecated(
"Replaced by xtd::compiler_id::msvc - Will be removed in version 1.2.0."
)]] =
msvc
,
34
};
35
}
36
38
template
<>
struct
xtd::enum_register
<
xtd
::
compiler_id
> {
39
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::compiler_id>
{{
xtd::compiler_id::unknown
,
"unknown"
}, {
xtd::compiler_id::msvc
,
"msvc"
}, {
xtd::compiler_id::clang
,
"clang"
}, {
xtd::compiler_id::gcc
,
"gcc"
}, {
xtd::compiler_id::apple_clang
,
"apple_clang"
}};}
40
};
enum.hpp
Contains enum_ and enum_ut_ keywords.
xtd::enum_collection
std::vector< std::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:24
xtd::compiler_id
compiler_id
Identifies the compiler, supported by an assembly.
Definition
compiler_id.hpp:20
xtd::architecture_id::unknown
@ unknown
The processor architecture is unknown.
Definition
architecture_id.hpp:22
xtd::compiler_id::clang
@ clang
The compiler is clang.
Definition
compiler_id.hpp:26
xtd::compiler_id::msvc
@ msvc
The compiler is Microsoft Visual Studio.
Definition
compiler_id.hpp:24
xtd::compiler_id::apple_clang
@ apple_clang
The compiler is Apple clang.
Definition
compiler_id.hpp:30
xtd::compiler_id::unknown
@ unknown
The compiler is unknown.
Definition
compiler_id.hpp:22
xtd::compiler_id::gcc
@ gcc
The compiler is gcc.
Definition
compiler_id.hpp:28
xtd::compiler_id::microsoft_visual_studio
@ microsoft_visual_studio
The compiler is Microsoft Visual Studio.
Definition
compiler_id.hpp:33
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.