Fixing assignement for iterator wrapper second, and adding unit test

This commit is contained in:
Jay Sistar committed 2017-05-10 17:53:27 +00:00
1 parent 6a656ed375
commit d6c78dacd8
3 files changed
+738

No files matched your search

+8
View File
@@ -7913,6 +7913,14 @@ class basic_json
{
return proxy.value();
}
/// assignment operator (calls value())
template<typename ValueType>
iterator_value_property<ProxyType>& operator=(const ValueType& value)
{
proxy.value() = value;
return *this;
}
};
/// helper class for iteration