
11 May
2005
11 May
'05
5:20 p.m.
"Russell Hind" <rh_gmane@mac.com> wrote in message news:d5tbph$onv$1@sea.gmane.org...
Gennadiy Rozental wrote:
This one is most difficult to fix. It caused by inability of Borland to deal with "in class" using declaration. Until it's resolved no sense to try fix anything else. Any help is appreciated.
What is 'has'? Rest defaults to 'nil' which doesn't have a member 'has' anyway.
struct nil{}; template<T, Rest=nil> class A : public Rest { public: void foo( T ); using Rest::foo; }; Let say we have instantiation A<int,A<float,A<char> > >. Without using, void foo( int ) will hide all other overloads. I could add foo to nil. But I do not think it's an issue here. Gennadiy