Fixing assignement for iterator wrapper second, and adding unit test
This commit is contained in:
parent
6a656ed375
commit
d6c78dacd8
3 changed files with 738 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue