This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/4781: template problem with namespace and operator overloading.

[Get raw message]
Synopsis: template problem with namespace and operator overloading.

State-Changed-From-To: analyzed->closed
State-Changed-By: aoliva
State-Changed-When: Sun Nov 25 10:40:45 2001
State-Changed-Why:
    Not a bug.  operator< is searched in ::std, because that's where std::less is defined, and ::R, due to Koenig lookup.  The global namespace is not to be searched, so your operator< is not found.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4781&database=gcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]