TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ moved_or_copied()

template<typename BasicJsonType >
value_type nlohmann::detail::json_ref< BasicJsonType >::moved_or_copied ( ) const
inline

Definition at line 13591 of file json.hpp.

13592 {
13593 if (value_ref == nullptr)
13594 {
13595 return std::move(owned_value);
13596 }
13597
13598 return *value_ref;
13599 }