aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/variable.hxx')
-rw-r--r--libbuild2/variable.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx
index 3eed61e..3cb3d7f 100644
--- a/libbuild2/variable.hxx
+++ b/libbuild2/variable.hxx
@@ -621,7 +621,8 @@ namespace build2
//template <typename T> T convert (names&&); (declaration causes ambiguity)
// Convert value to T. If value is already of type T, then simply cast it.
- // Otherwise call convert(names) above.
+ // Otherwise call convert(names) above. If value is NULL, then throw
+ // invalid_argument (with an appropriate message).
//
template <typename T> T convert (value&&);