mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-14 09:57:56 +08:00
clarify operator=
This commit is contained in:
parent
3976f17ffd
commit
7f439f4276
@ -255,7 +255,8 @@ Json::Value obj_value(Json::objectValue); // {}
|
|||||||
Value(const Value& other);
|
Value(const Value& other);
|
||||||
~Value();
|
~Value();
|
||||||
|
|
||||||
// Deep copy, then swap(other).
|
/// Deep copy, then swap(other).
|
||||||
|
/// \note Over-write existing comments. To preserve comments, use #swapPayload().
|
||||||
Value& operator=(Value other);
|
Value& operator=(Value other);
|
||||||
/// Swap everything.
|
/// Swap everything.
|
||||||
void swap(Value& other);
|
void swap(Value& other);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user