TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ operator/=() [1/3]

template<typename BasicJsonType >
json_pointer & nlohmann::json_pointer< BasicJsonType >::operator/= ( const json_pointer< BasicJsonType > &  ptr)
inline

append another JSON pointer at the end of this JSON pointer

Parameters
[in]ptrJSON pointer to append
Returns
JSON pointer with ptr appended

@liveexample{The example shows the usage of operator/=.,json_pointer__operator_add}

@complexity Linear in the length of ptr.

See also
see operator/=(std::string) to append a reference token
see operator/=(std::size_t) to append an array index
see operator/(const json_pointer&, const json_pointer&) for a binary operator
Since
version 3.6.0

Definition at line 12641 of file json.hpp.

12642 {
12643 reference_tokens.insert(reference_tokens.end(),
12644 ptr.reference_tokens.begin(),
12645 ptr.reference_tokens.end());
12646 return *this;
12647 }