18 #ifndef INCLUDED_utility_down_cast_hh
19 #define INCLUDED_utility_down_cast_hh
41 template<
class Target,
class Source >
47 return static_cast< Target
>(
s );
57 template<
class Target,
class Source >
63 return static_cast< Target
>(
p );
70 #endif // INCLUDED_utility_down_cast_HH
#define debug_assert(condition)
FileVectorOptionKey const s
Target down_cast(Source &s)
Fast assert-checked polymorphic down-cast: reference argument.
Meta-programming classes to provide the pointer type for down_cast.