implemented lazy loading for object_ptr and belongs_to
This commit is contained in:
@@ -28,6 +28,9 @@ public:
|
||||
field(field &&x) noexcept;
|
||||
field& operator=(field &&x) noexcept;
|
||||
|
||||
bool operator==(const field& rhs) const;
|
||||
bool operator!=(const field& rhs) const;
|
||||
|
||||
template<typename Type>
|
||||
field& operator=(Type value) {
|
||||
value_ = std::move(value);
|
||||
|
||||
Reference in New Issue
Block a user