template<class Z> class A1{ protected : Z u; public: A1(Z pu):u(pu){} Z getU(){return u;} }; template <class Z> class...
sorry for the typo . it should read in both operator lines: "ostream& operator<<(ostream& os, Simple<T> P )"
any idea why I can't overload << as member function i.e template<typename T> class Simple{ T A,B; public: /* Constructors and...
Thanks I was thinking the same but the question remains : if that possible at all ? the std draf in sec 9 "A class can be declared...
what about this printf(%d%f,(int) a,a);
I was reading the std and i can't figure out if this is possible at all . I want to have a local class in a function , one of the member...
Separate names with a comma.