stlsoft/collections/functions.hpp File Reference


Detailed Description

[C++ only] Definition of collection manipulation functions (Collections Library).

#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.


Generated on Thu Jun 10 08:58:02 2010 for STLSoft by  doxygen 1.5.6