From a purely object-oriented perspective, "copy semantics" is the right way to preserve control over object ownership. But in those scenarios where ownership becomes irrelevant, C++11 "move semantics ...
diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index b0f1f70b..19f5a6a5 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson ...