|
◆ operator/=() [1/3]
template<typename BasicJsonType >
- Parameters
-
[in] | ptr | JSON pointer to append |
- Returns
- JSON pointer with ptr appended
- Example^^ The example shows the usage of operator/=. ^^ json_pointer__operator_add.cpp
- Output (play with this example online):^^
"/foo"
"/foo/bar/baz"
"/foo/bar/baz/fob"
"/foo/bar/baz/fob/42"
^^ The example code above can be translated withg++ -std=c++11 -Isingle_include doc/examples/json_pointer__operator_add.cpp -o json_pointer__operator_add
- Complexity^^ Linear in the length of ptr.
- See also
- operator/=(std::string) to append a reference token
-
operator/=(std::size_t) to append an array index
-
operator/(const json_pointer&, const json_pointer&) for a binary operator
- Since
- version 3.6.0
Definition at line 11632 of file json.hpp.
|