diff options
Diffstat (limited to 'libbuild2/variable.ixx')
-rw-r--r-- | libbuild2/variable.ixx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libbuild2/variable.ixx b/libbuild2/variable.ixx index 4688d27..50cce78 100644 --- a/libbuild2/variable.ixx +++ b/libbuild2/variable.ixx @@ -101,6 +101,22 @@ namespace build2 return *this; } + inline value& value:: + operator= (names v) + { + assert (type == nullptr); + assign (move (v), nullptr); + return *this; + } + + inline value& value:: + operator+= (names v) + { + assert (type == nullptr); + append (move (v), nullptr); + return *this; + } + inline void value:: assign (name&& n, const variable* var) { |