4 extern "C" int printf (const char *, ...);
12 // remove the public Base inheritance and the problem goes away...
13 class Container : public Base
17 Container(const T& aValue): myValue(aValue) { }
19 operator const T&(void) const
21 printf("Container::const T& called\n");
30 typedef unsigned short Type;
32 typedef Container<Type> TypeContainer;
36 TypeContainer myTypeContainer(2);
37 Type t = myTypeContainer;
39 printf ("myType = %d\n", t);