#include <stlsoft/stlsoft.h>
#include <stlsoft/util/std/iterator_helper.hpp>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
namespace | stlsoft |
Functions | |
template<typename M, typename K> | |
ss_typename_type_ret_k M::mapped_type & | lookup (M &m, K const &key) |
Looks up and returns the matching referent for a given key, or throws std::out_of_range if the key is not found in the map. | |
template<typename M, typename K> | |
ss_typename_type_ret_k M::mapped_type const & | lookup (M const &m, K const &key) |
Looks up and returns the matching referent for a given key, or throws std::out_of_range if the key is not found in the map. |