diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-15 14:10:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-15 14:10:50 +0200 |
commit | 6535bf6175af32e2514faf75d2742424751a783b (patch) | |
tree | 21312b28ffe2bbb459a57e80a1f8eec498327d9f /build/variable.ixx | |
parent | ad720fabd468974e3909f62a0f4e4e3cf0d03aef (diff) |
New variables architecture
Now operator[] is only used for lookup.
Diffstat (limited to 'build/variable.ixx')
-rw-r--r-- | build/variable.ixx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/variable.ixx b/build/variable.ixx index c0059c5..2cbe519 100644 --- a/build/variable.ixx +++ b/build/variable.ixx @@ -53,4 +53,11 @@ namespace build p->reset (new list_value (std::move (v))); return *this; } + + inline const value_proxy& value_proxy:: + operator= (nullptr_t) const + { + p->reset (); + return *this; + } } |