New Paste :: Recent Pastes:: No Line Numbers
parameter with no type by davean
1
template <class A_> class A { public: A( void (*d)(void*) ) {} }; template<class B_> class B { public: typedef struct { B_ bar; } Foo; static void handleFoo(void *p) { } private: A<Foo> p(handleFoo); };