|
static const T1 *const | cast (T2 &arg) |
|
template<class T1, class T2>
struct ptr_cast_helper< const T1 *const, T2 >
Definition at line 112 of file ScalarFunctionsImpl.cc.
template<class T1 , class T2 >
static const T1* const ptr_cast_helper< const T1 *const, T2 >::cast |
( |
T2 & |
arg | ) |
|
|
inlinestatic |
Definition at line 113 of file ScalarFunctionsImpl.cc.
114 const T1*
const out =
dynamic_cast<const T1*const
>(arg);
117 std::cerr <<
"ptr_cast error" << std::endl;
119 throw std::bad_cast();
The documentation for this struct was generated from the following file: