public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/4168 is not a bug
@ 2001-08-30 12:56 Philip Martin
  0 siblings, 0 replies; only message in thread
From: Philip Martin @ 2001-08-30 12:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/4168; it has been noted by GNATS.

From: Philip Martin <philip_martin@ntlworld.com>
To: dominik.strasser@mchp.siemens.de, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/4168 is not a bug
Date: 30 Aug 2001 20:47:36 +0100

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4168&database=gcc
 
 This is not a bug, both versions of operator() are required. This is
 resolution of issue 109. See
 
 http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-active.html#109
 
 To get your sample code to work change
 
   struct CmpStrInt : public binary_function<const StrInt, const string, bool>
   {
     bool operator()(const StrInt& l, const string& r) const;
   }
 
 to
 
   struct CmpStrInt : public binary_function<StrInt, string, bool>
   {
     bool operator()(const StrInt& l, const string& r) const;
   }
 
 Philip
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-30 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-30 12:56 libstdc++/4168 is not a bug Philip Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).