rutz::is_sub_super< sub, super > Struct Template Reference

Determine whether sub derives from super. More...

#include <rutz/traits.h>

List of all members.

Public Types

enum  { sz = sizeof(type_match<super>::foo(static_cast<sub*>(0))) }
enum  { result = ((sz == sizeof(traits::yes_type)) ? 1 : 0) }

Detailed Description

template<class sub, class super>
struct rutz::is_sub_super< sub, super >

Determine whether sub derives from super.

Definition at line 100 of file traits.h.

The documentation for this struct was generated from the following file:

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