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 {
18 enum class build_type {
20 debug = 0,
22 release,
23 };
24}
25
27template<> struct xtd::enum_register<xtd::build_type> {
28 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::build_type> {{xtd::build_type::debug, "debug"}, {xtd::build_type::release, "release"}};}
29};
Contains enum_ and enum_ut_ keywords.
build_type
Identifies the build type.
Definition build_type.h:18
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
@ 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:36