Lightweight 0.20250904.0
Loading...
Searching...
No Matches
Lightweight::FieldWithStorage Concept Reference

#include <Record.hpp>

Concept definition

template<typename T>
concept Lightweight::FieldWithStorage = requires(T const& field, T& mutableField) {
{ field.Value() } -> std::convertible_to<typename T::ValueType const&>;
{ mutableField.MutableValue() } -> std::convertible_to<typename T::ValueType&>;
{ field.IsModified() } -> std::convertible_to<bool>;
{ mutableField.SetModified(bool {}) } -> std::convertible_to<void>;
}

Detailed Description

Requires that T satisfies to be a field with storage.

Definition at line 124 of file Record.hpp.