3 extern "C" int printf (const char *, ...);
11 // remove the public Base inheritance and the problem goes away...
12 class Container : public Base
16 Container(const T& aValue): myValue(aValue) { }
18 operator const T&(void) const
20 printf("Container::const T& called\n");
29 typedef unsigned short Type;
31 typedef Container<Type> TypeContainer;
35 TypeContainer myTypeContainer(2);
36 Type t = myTypeContainer;
38 printf ("myType = %d\n", t);