This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: relax requirements for vector==
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: relax requirements for vector==
- From: Richard Andrews <richarda at ixla dot com dot au>
- Date: Wed, 7 Mar 2001 08:38:32 +1100
- Organization: Ixla Limited
- References: <C1256A07.003E69D6.00@d12mta02.de.ibm.com>
>From veksler@il.ibm.com (Tuesday 06 March 2001 22:25)
> Oops, just found out that my patch won't work due to:
> __STL_REQUIRES(........ _EqualityComparable)
>
> What is the idea behind these overly strong assertions? "If I'll make it in
> gcc I will make it anywhere"?
I'd also be interested in this.
I came across some particularly draconian requirements when using
std::advance(), had to end up writing a loop to do what should have been one
statement.