From 1cf1603cae3064aff734f52d23c06098e81a8111 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Jul 2015 15:01:10 +0200 Subject: Install module genesis --- build/config/utility | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build/config') diff --git a/build/config/utility b/build/config/utility index e1d81a7..713ab01 100644 --- a/build/config/utility +++ b/build/config/utility @@ -41,6 +41,13 @@ namespace build const T* optional (scope& root, const char* name); + template + inline const T* + optional (scope& root, const std::string& name) + { + return optional (root, name.c_str ()); + } + // Add all the values from a variable to the C-string list. T is // either target or scope. // -- cgit v1.1