GCC Middle and Back End API Reference
static_is_a_helper< T > Struct Template Reference

#include <is-a.h>

Static Public Member Functions

template<typename U >
static T cast (U *p)
 

Detailed Description

template<typename T>
struct static_is_a_helper< T >
A base class that specializations of is_a_helper can use if casting
U * to T is simply a static_cast.  This is more type-safe than
reinterpret_is_a_helper.   

Member Function Documentation

◆ cast()

template<typename T >
template<typename U >
static T static_is_a_helper< T >::cast ( U * p)
inlinestatic

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