From 148c3e25b35be03c5b7e52095d865a9924f0927e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 11 Sep 2011 11:02:01 +0200 Subject: Add support for setting compiler::context value as container::any --- cutl/compiler/context.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cutl/compiler/context.hxx') diff --git a/cutl/compiler/context.hxx b/cutl/compiler/context.hxx index 6a861e4..586fa6d 100644 --- a/cutl/compiler/context.hxx +++ b/cutl/compiler/context.hxx @@ -99,6 +99,15 @@ namespace cutl set (std::string const& key, X const& value); void + set (char const* key, container::any const& value) + { + return set (std::string (key), value); + } + + void + set (std::string const& key, container::any const& value); + + void remove (char const* key) { remove (std::string (key)); -- cgit v1.1