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:: Add Line Numbers


for drock by godecho
template  <class A_>
class A
{
        public:

                A( void (*d)(void*) )
                {

                }

 };

template<class B_>
class Foo
{
        public:

                B_ bar;
};

template<class B_>
class B
{
        public:

                static void handleFoo(void *p)
                {

                }

        private:

        A< Foo<B_> > p(handleFoo);
 };

int main(int argc, char **argv)
{

        B test;

        return 0;
}