Progress.

This commit is contained in:
BadQuanta
2026-05-13 19:49:14 +00:00
parent ba85c37f88
commit 81ecc87d39
16 changed files with 1212 additions and 134 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
/// @file PrimitiveWrapper.hpp
/// For complete documentation, see src/PrimitiveWrapper.cpp
//
namespace hdk::grid {
template <typename T>
class PrimitiveWrapper {
private:
T primitive_value;
public:
PrimitiveWrapper() = delete;
PrimitiveWrapper(T value) : primitive_value(value) {}
operator T() const { return primitive_value; }
PrimitiveWrapper& operator=(T newValue) {
primitive_value = newValue;
return *this;
}
};
}