xtd 0.2.0
build_type.h
Go to the documentation of this file.
1 #pragma once
5 #include "enum.h"
6 
8 namespace xtd {
18  enum class build_type {
20  debug = 0,
22  release,
23  };
24 }
25 
27 template<> 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 };
build_type
Identifies the build type.
Definition: build_type.h:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Build type debug.
Build type release.
Contains enum_ and enum_ut_ keywords.
Provides the registration struct for enumerations.
Definition: enum_register.h:36