aboutsummaryrefslogtreecommitdiff
path: root/build/variable
diff options
context:
space:
mode:
Diffstat (limited to 'build/variable')
-rw-r--r--build/variable4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/variable b/build/variable
index 05ca671..59db060 100644
--- a/build/variable
+++ b/build/variable
@@ -67,6 +67,7 @@ namespace build
struct list_value: value, names
{
public:
+ list_value () = default;
list_value (names d): names (std::move (d)) {}
list_value (std::string d) {emplace_back (std::move (d));}
list_value (dir_path d) {emplace_back (std::move (d));}
@@ -115,6 +116,9 @@ namespace build
operator= (const value_proxy&) const;
const value_proxy&
+ operator= (list_value) const;
+
+ const value_proxy&
operator= (std::string) const;
const value_proxy&