utility header

From Cppwiki

Jump to: navigation, search

utility is a C++ Standard Library #include. It is responsible for definine std::pair, std::make_pair and related functionality.

Types defined by <utility>

 template<typename First, typename Second>
   class std::pair;

Functions defined by <utility>

 template<typename First, typename Second>
   pair<First, Second> make_pair(First, Second);

Operators defined by <utility>

 template<typename First, typename Second>
   bool operator==(pair<First, Second> const &, pair<First, Second> const &);
 template<typename First, typename Second>
   bool operator!=(pair<First, Second> const &, pair<First, Second> const &);
 template<typename First, typename Second>
   bool operator<(pair<First, Second> const &, pair<First, Second> const &);
 template<typename First, typename Second>
   bool operator<=(pair<First, Second> const &, pair<First, Second> const &);
 template<typename First, typename Second>
   bool operator>(pair<First, Second> const &, pair<First, Second> const &);
 template<typename First, typename Second>
   bool operator>=(pair<First, Second> const &, pair<First, Second> const &);
Personal tools