29 Jan
2009
29 Jan
'09
5:41 p.m.
Use CRTP template<class Derived, class T> class B { private: bool help_me(const void* t) { return static_cast<Derived*>(this)->help_me(static_cast<const T*>(t)); } }; Indeed. Thank you.
A::do_something(t, boost::lambda::bind(hf, boost::lambda::ll_static_cast<const T*>(boost::lambda::_1))); ok. Thanks again!
Christoph