GNU g++  v5.2.1
GNU Standard C++
type_utils.hpp File Reference

Contains utilities for handnling types. More...

#include <cstddef>
#include <utility>
#include <tr1/type_traits>
#include <ext/type_traits.h>
#include <ext/numeric_traits.h>
Include dependency graph for type_utils.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  __gnu_pbds::detail::__static_assert< bool >
 
struct  __gnu_pbds::detail::__static_assert< true >
 
struct  __gnu_pbds::detail::__static_assert_dumclass< int >
 
struct  __gnu_pbds::detail::is_const_pointer< T >
 
struct  __gnu_pbds::detail::is_const_reference< T >
 
class  __gnu_pbds::detail::is_pair< T >
 
struct  __gnu_pbds::detail::is_pair< T >::is_pair_imp< U >
 
struct  __gnu_pbds::detail::is_pair< T >::is_pair_imp< std::pair< U, V > >
 
struct  __gnu_pbds::detail::is_simple< T >
 
struct  __gnu_pbds::detail::type_to_type< Type >
 

Namespaces

 __gnu_pbds
 GNU extensions for policy-based data structures for public use.
 
 __gnu_pbds::detail
 

Macros

#define PB_DS_STATIC_ASSERT(UNIQUE, E)   typedef __gnu_pbds::detail::__static_assert_dumclass<sizeof(__gnu_pbds::detail::__static_assert<bool(E)>)> UNIQUE##__static_assert_type
 

Typedefs

typedef std::tr1::integral_constant< int, 0 > __gnu_pbds::detail::false_type
 
typedef std::tr1::integral_constant< int, 1 > __gnu_pbds::detail::true_type
 

Detailed Description

Contains utilities for handnling types.

All of these classes are based on Modern C++ by Andrei Alxandrescu.

Macro Definition Documentation

#define PB_DS_STATIC_ASSERT (   UNIQUE,
 
)    typedef __gnu_pbds::detail::__static_assert_dumclass<sizeof(__gnu_pbds::detail::__static_assert<bool(E)>)> UNIQUE##__static_assert_type