From e649f2d988ce4e7a67aee1236850eb0b95a97d56 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Dec 2015 10:12:23 +0200 Subject: Add support for variable prepend operator: =+ --- build/variable | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/variable') diff --git a/build/variable b/build/variable index 51d748d..799a35c 100644 --- a/build/variable +++ b/build/variable @@ -101,6 +101,9 @@ namespace build value& append (value, const variable&); // Aka operator+=(). + value& + prepend (value, const variable&); // Aka operator=+(). + // Forwarded to the representation type's assign()/append() (see below). // template value& operator= (T); @@ -138,6 +141,9 @@ namespace build void append (names, const variable&); + void + prepend (names, const variable&); + public: // Don't use directly except in the implementation of representation // types, in which case take care to update state. -- cgit v1.1