traits.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rutz
namespace  rutz::traits

Classes

struct  rutz::type_traits< T >
 Basic type traits class. More...
struct  rutz::rutz::type_traits< T * >
 Specialization of type traits for pointers. More...
struct  rutz::rutz::type_traits< T & >
 Specialization of type traits for references. More...
struct  rutz::rutz::type_traits< const T & >
 Specialization of type traits for const references. More...
struct  rutz::select_if< test, if_true, if_false >
 Select between two types based on a compile-time constant boolean expression. More...
struct  rutz::rutz::select_if< false, if_true, if_false >
 Specialization of select_if for 'false'. More...
struct  rutz::traits::yes_type
struct  rutz::traits::no_type
struct  rutz::type_match< T >
 Helper class for is_sub_super. More...
struct  rutz::is_sub_super< sub, super >
 Determine whether sub derives from super. More...
struct  rutz::is_class< T >
 Traits class to tell us whether T is a class type or not. More...
struct  rutz::is_polymorphic_imp1< T >
 Helper struct for telling whether T is a polymorphic type or not. More...
struct  rutz::is_polymorphic_imp1< T >::d1
struct  rutz::is_polymorphic_imp1< T >::d2
struct  rutz::is_polymorphic_imp1< T >::d2::unique
struct  rutz::is_polymorphic_imp2< T >
struct  rutz::is_polymorphic_selector< is_class >
struct  rutz::is_polymorphic_selector< is_class >::rebind< T >
struct  rutz::rutz::is_polymorphic_selector< true >
struct  rutz::rutz::is_polymorphic_selector< true >::rebind< T >
struct  rutz::is_polymorphic< T >
 Traits class to tell whether T is a polymorphic type (i.e. has virtual functions). More...
struct  rutz::rutz::full_object_caster< T, false >
struct  rutz::rutz::full_object_caster< T, true >

Functions

template<class U>
traits::yes_type rutz::is_class_tester (void(U::*)(void))
 Remove const/volative qualifiers.
template<class T>
const void * rutz::full_object_cast (const T *p)
 Cast a pointer to the beginning of the full object.

Variables

traits::no_type rutz::is_class_tester (...)


Detailed Description

various traits classes for determining type characteristics at compile time

Definition in file traits.h.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:52:14 2008 by Doxygen version 1.5.5.