Added BCValue creation, part I.
This commit is contained in:
13
bc.h
13
bc.h
@@ -66,6 +66,19 @@ template <typename E>
|
||||
constexpr auto to_u(E e) noexcept {
|
||||
return static_cast<std::underlying_type_t<E>>(e);
|
||||
}
|
||||
|
||||
// constants.h
|
||||
#pragma once
|
||||
#include <QLatin1StringView>
|
||||
|
||||
namespace Consts {
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
// 1. Compile-Time Konstante (constexpr)
|
||||
// 2. Kein Heap-Speicher (Zero Allocation)
|
||||
// 3. Minimale Binary-Größe (1 Byte char) <- 8 Bit!
|
||||
// Beste Performance, keine Allokation, Typ-Sicher
|
||||
inline constexpr auto OrgName = "source::worx"_L1;
|
||||
}
|
||||
*/
|
||||
|
||||
struct BC
|
||||
|
||||
Reference in New Issue
Block a user