1 typedef int INT_TYPEDEF;
7 virtual ~TypedIfc() { }
8 virtual operator const T&() const = 0;
9 virtual const T& operator= (const T& t) = 0;
12 template<class Tnative>
13 class NullIfc : public TypedIfc<Tnative>
16 const Tnative& operator= (const Tnative& t) { return t; }
17 operator const Tnative&() const { return *(Tnative *)0; }
20 typedef TypedIfc<INT_TYPEDEF> INT_TYPEDEFIfc;