完整部署快照

This commit is contained in:
root
2026-09-20 02:20:26 +00:00
commit ce553c0dc8
5836 changed files with 1631123 additions and 0 deletions

19
core/common/macros.h Normal file
View File

@@ -0,0 +1,19 @@
/* Lightweight PROPERTY macro for project_6.
Adapted from xllm/core/common/macros.h — stripped reflection. */
#pragma once
#include <utility>
#define PROPERTY(T, property) \
public: \
[[nodiscard]] const T& property() const& noexcept { return property##_; } \
[[nodiscard]] T& property() & noexcept { return property##_; } \
auto property(const T& value) & -> decltype(*this) { \
property##_ = value; \
return *this; \
} \
auto property(T&& value) & -> decltype(*this) { \
property##_ = std::move(value); \
return *this; \
} \
T property##_