Lines Matching refs:get_ref
865 JSONSerializer<other_string_t>::to_json(*this, val.template get_ref<const other_string_t&>());
868 JSONSerializer<other_object_t>::to_json(*this, val.template get_ref<const other_object_t&>());
871 JSONSerializer<other_array_t>::to_json(*this, val.template get_ref<const other_array_t&>());
874 JSONSerializer<other_binary_t>::to_json(*this, val.template get_ref<const other_binary_t&>());
1499 @brief helper function to implement get_ref()
1501 This function helps to implement get_ref() without code duplication for
1520 JSON_THROW(type_error::create(303, detail::concat("incompatible ReferenceType for get_ref, actual type is ", obj.type_name()), &obj));
1739 "get() cannot be used with reference types, you might want to use get_ref()");
1818 /// @sa https://json.nlohmann.me/api/basic_json/get_ref/
1821 ReferenceType get_ref()
1828 /// @sa https://json.nlohmann.me/api/basic_json/get_ref/
1832 ReferenceType get_ref() const
3182 std::move(key.get_ref<string_t&>()), (init.begin() + 1)->moved_or_copied()));