175 template <
typename U>
176 static inline T
cast (U *p) {
return reinterpret_cast <T
> (p); }
186 template <
typename U>
187 static inline T
cast (U *p) {
return static_cast <T
> (p); }
195 template <
typename U>
196 static inline bool test (U *p);
205 template <
typename U>
206 static inline const T *
cast (
const U *p)
210 template <
typename U>
211 static inline bool test (
const U *p)
228template <
typename T,
typename U>
238template <
typename T,
typename U>
251template <
typename T,
typename U>
262template <
typename T,
typename U>
278template <
typename T,
typename U>
285 return static_cast <T
> (0);
290template <
typename T,
typename U>
bool is_a(U *p)
Definition is-a.h:230
bool safe_is_a(U *p)
Definition is-a.h:240
T safe_as_a(U *p)
Definition is-a.h:264
T safe_dyn_cast(U *p)
Definition is-a.h:292
T as_a(U *p)
Definition is-a.h:253
T dyn_cast(U *p)
Definition is-a.h:280
static bool test(const U *p)
Definition is-a.h:211
static const T * cast(const U *p)
Definition is-a.h:206
static T cast(U *p)
Definition is-a.h:176
static T cast(U *p)
Definition is-a.h:187
#define NULL
Definition system.h:50
#define gcc_checking_assert(EXPR)
Definition system.h:821