yat/utility/stl_utility.h File Reference

#include <boost/iterator/transform_iterator.hpp>
#include <boost/mpl/if.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <algorithm>
#include <cmath>
#include <functional>
#include <map>
#include <ostream>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  std
namespace  theplu
namespace  theplu::yat
namespace  theplu::yat::utility

Classes

struct  theplu::yat::utility::abs< T >
class  theplu::yat::utility::compose_f_gx_hy< F, G, H >
struct  theplu::yat::utility::Exp< T >
class  theplu::yat::utility::Log< T >
struct  theplu::yat::utility::pair_value_compare< T1, T2 >
 Functor comparing pairs using second. More...
struct  theplu::yat::utility::PairFirst< Pair >
 Functor that return std::pair.first. More...
struct  theplu::yat::utility::PairSecond< Pair >
 Functor that return std::pair.second. More...

Functions

template<class T1, class T2>
std::ostream & std::operator<< (std::ostream &out, const std::pair< T1, T2 > &p)
template<class F, class G, class H>
compose_f_gx_hy< F, G, H > theplu::yat::utility::make_compose_f_gx_hy (F f, G g, H h)
template<typename InputIterator, typename Key>
void theplu::yat::utility::inverse (InputIterator first, InputIterator last, std::map< Key, std::vector< size_t > > &m)
template<typename Key, typename InputIterator>
void theplu::yat::utility::inverse (InputIterator first, InputIterator last, std::multimap< Key, size_t > &m)
template<typename T>
theplu::yat::utility::max (const T &a, const T &b, const T &c)
template<typename T>
theplu::yat::utility::max (const T &a, const T &b, const T &c, const T &d)
template<typename T>
theplu::yat::utility::max (const T &a, const T &b, const T &c, const T &d, const T &e)
template<typename T>
theplu::yat::utility::max (const T &a, const T &b, const T &c, const T &d, const T &e, const T &f)
template<class Iter>
boost::transform_iterator
< PairFirst< typename
std::iterator_traits< Iter >
::value_type >, Iter > 
theplu::yat::utility::pair_first_iterator (Iter i)
template<class Iter>
boost::transform_iterator
< PairSecond< typename
std::iterator_traits< Iter >
::value_type >, Iter > 
theplu::yat::utility::pair_second_iterator (Iter i)
std::string & theplu::yat::utility::to_lower (std::string &s)
 Function converting a string to lower case.
std::string & theplu::yat::utility::to_upper (std::string &s)
 Function converting a string to upper case.


Detailed Description

There are a number of useful functionality missing in the Standard Template Library, STL. This file is an effort to provide extensions to STL functionality.

Generated on Tue Jan 18 02:20:10 2011 for yat by  doxygen 1.5.5