[C++-sig] Re: abstract templates and pyste question.

Hanz Meizer steam at nurfuerspam.de
Thu Feb 19 10:56:40 CET 2004


I should add: The whole construct works in an g++-3.3 example program:

-------------------------------------------------------------------------------
#include <iostream>
#include "Test.h"

int main(int argc, char** argv)
{
         //Base a;
         //Derived b;
         Derived2 c;

         std::cout << c.getSize() << " " << c.getSizeD() << std::endl;

         return 0;
}
-------------------------------------------------------------------------------

H.





More information about the Cplusplus-sig mailing list