yat
0.14.5pre
|
#include "concept_check.h"
#include "DataWeight.h"
#include "Exception.h"
#include <boost/concept_check.hpp>
#include <boost/iterator/transform_iterator.hpp>
#include <boost/mpl/if.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <algorithm>
#include <cmath>
#include <exception>
#include <functional>
#include <iterator>
#include <map>
#include <ostream>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Namespaces | |
theplu | |
The Department of Theoretical Physics namespace as we define it. | |
theplu::yat | |
yat project namespace. | |
theplu::yat::utility | |
Miscellaneous functionality. | |
Functions | |
template<class T1 , class T2 > | |
std::ostream & | std::operator<< (std::ostream &out, const std::pair< T1, T2 > &p) |
template<typename T > | |
void | theplu::yat::utility::clear (std::vector< T > &vec) |
reduce size and capacity to zero More... | |
template<typename Key , typename Tp , typename Compare , typename Alloc , typename Key2 > | |
const Tp & | theplu::yat::utility::get (const std::map< Key, Tp, Compare, Alloc > &m, const Key2 &k) |
template<typename InputIterator , typename Key , typename Comp > | |
void | theplu::yat::utility::inverse (InputIterator first, InputIterator last, std::map< Key, std::vector< size_t >, Comp > &m) |
template<typename Key , typename InputIterator , typename Comp > | |
void | theplu::yat::utility::inverse (InputIterator first, InputIterator last, std::multimap< Key, size_t, Comp > &m) |
template<typename InputIterator , typename Key , typename Comp > | |
void | theplu::yat::utility::inverse (InputIterator first, InputIterator last, std::map< Key, size_t, Comp > &m) |
template<typename T > | |
T | theplu::yat::utility::max (const T &a, const T &b, const T &c) |
template<typename T > | |
T | theplu::yat::utility::max (const T &a, const T &b, const T &c, const T &d) |
template<typename T > | |
T | theplu::yat::utility::max (const T &a, const T &b, const T &c, const T &d, const T &e) |
template<typename T > | |
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 boost::remove_reference < typename std::iterator_traits< Iter > ::reference >::type >, Iter > | theplu::yat::utility::pair_first_iterator (Iter i) |
template<class Iter > | |
boost::transform_iterator < PairSecond< typename boost::remove_reference < typename std::iterator_traits< Iter > ::reference >::type >, Iter > | theplu::yat::utility::pair_second_iterator (Iter i) |
template<typename Pointer , class Compare > | |
compose_f_gx_hy< Compare, Dereferencer< Pointer > , Dereferencer< Pointer > > | theplu::yat::utility::make_ptr_compare (Pointer p, Compare compare) |
template<typename Pointer > | |
compose_f_gx_hy< std::less < typename std::iterator_traits< Pointer > ::value_type >, Dereferencer < Pointer >, Dereferencer < Pointer > > | theplu::yat::utility::make_ptr_compare (Pointer p) |
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. | |
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.