aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/variable.hxx')
-rw-r--r--build2/variable.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/build2/variable.hxx b/build2/variable.hxx
index 401cc77..7a0e531 100644
--- a/build2/variable.hxx
+++ b/build2/variable.hxx
@@ -250,10 +250,17 @@ namespace build2
explicit
value (names); // Create untyped value.
+ explicit
+ value (optional<names>);
+
template <typename T>
explicit
value (T); // Create value of value_traits<T>::value_type type.
+ template <typename T>
+ explicit
+ value (optional<T>);
+
// Note: preserves type.
//
value&