GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


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);
 };