diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-31 06:29:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-31 06:29:05 +0200 |
commit | 618c44ec5e85f7d07540234a0de9fac6e2913243 (patch) | |
tree | b31ca500abc9f13755ceafdd7ff1d2b3398040e9 /build/variable | |
parent | b1715878d50aa8a3c3e2404f3ded120329994aba (diff) |
Save config.build
Diffstat (limited to 'build/variable')
-rw-r--r-- | build/variable | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/variable b/build/variable index 901f5c8..dfdcaff 100644 --- a/build/variable +++ b/build/variable @@ -217,6 +217,18 @@ namespace build return value_proxy (&base::operator[] (v), &scope_); } + std::pair<iterator, iterator> + find_namespace (const std::string& ns) + { + return find_prefix (variable_pool.find (ns)); + } + + std::pair<const_iterator, const_iterator> + find_namespace (const std::string& ns) const + { + return find_prefix (variable_pool.find (ns)); + } + explicit variable_map (scope& s): scope_ (s) {} |