diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-11 11:02:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-11 11:02:01 +0200 |
commit | 148c3e25b35be03c5b7e52095d865a9924f0927e (patch) | |
tree | 3c4444ab6de56565c2589745fe936336478b4417 /cutl/compiler/context.hxx | |
parent | 3e0ec6220c1bcc32f45ffd26c08b99af556a8101 (diff) |
Add support for setting compiler::context value as container::any
Diffstat (limited to 'cutl/compiler/context.hxx')
-rw-r--r-- | cutl/compiler/context.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
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)); |