| 62 | |
| 63 | template<class Val> |
| 64 | bool |
| 65 | SymbolTable<Val>::get(const std::string& key, Val& val) const { |
| 66 | const auto& i = m.find(key); |
| 67 | if (i == m.end()) |
| 68 | return false; |
| 69 | val = i->second; |
| 70 | return true; |
| 71 | } |
| 72 | |
| 73 | }} |
| 74 | #endif |
no test coverage detected