| 52 | } |
| 53 | |
| 54 | boost::any AnyMap::get(std::string const &key) const { |
| 55 | Contents::const_iterator location = m_contents.find(key); |
| 56 | if (location == m_contents.end()) { |
| 57 | return boost::any(); |
| 58 | } |
| 59 | return location->second; |
| 60 | } |
| 61 | |
| 62 | boost::any AnyMap::get(const char *key) const { |
| 63 | return get(std::string(key)); |
no test coverage detected