Added BCValue creation, part I.

This commit is contained in:
2025-12-16 18:33:44 +01:00
parent 36ca1cf3f6
commit b0d347ef79
5 changed files with 169 additions and 38 deletions

13
bc.h
View File

@@ -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