xtd 0.2.0
Loading...
Searching...
No Matches
build_type.h
Go to the documentation of this file.
1
4#pragma once
5#include "enum.h"
6
8namespace xtd {
20 enum class build_type {
22 debug = 0,
24 release,
25 };
26}
27
29template<> struct xtd::enum_register<xtd::build_type> {
30 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::build_type> {{xtd::build_type::debug, "debug"}, {xtd::build_type::release, "release"}};}
31};
Contains enum_ and enum_ut_ keywords.
build_type
Identifies the build type.
Definition build_type.h:20
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.h:22
@ release
Build type release.
@ debug
Build type debug.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38