| 24 | } |
| 25 | |
| 26 | auto KeywordActionMap::Find(cm::string_view name) const -> const_iterator |
| 27 | { |
| 28 | auto const it = std::lower_bound( |
| 29 | this->begin(), this->end(), name, |
| 30 | [](value_type const& elem, cm::string_view k) { return elem.first < k; }); |
| 31 | return (it != this->end() && it->first == name) ? it : this->end(); |
| 32 | } |
| 33 | |
| 34 | auto PositionActionMap::Emplace(std::size_t pos, PositionAction action) |
| 35 | -> std::pair<iterator, bool> |
no test coverage detected