implemented lazy loading for object_ptr and belongs_to

This commit is contained in:
2026-01-15 12:40:54 +01:00
parent db8e137c11
commit 7626331866
81 changed files with 1790 additions and 927 deletions
+3
View File
@@ -44,6 +44,9 @@ public:
value(value &&x) noexcept;
value& operator=(value &&x) noexcept;
bool operator==(const value& rhs) const;
bool operator!=(const value& rhs) const;
template<class Type>
std::optional<Type> as() const {
if (std::holds_alternative<Type>(value_)) {