This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: string fix & mystery
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Re: string fix & mystery
- From: Chip Salzenberg <chip at valinux dot com>
- Date: Fri, 21 Apr 2000 12:13:01 -0700
- References: <20000419185642.A10158@store.zembu.com>
According to ncm@cantrip.org:
> The mystery is, why does the compiler not report the bug?
> #ifdef CONSC
> template
> C*
> - S::_S_construct<S::iterator>
> - (S::size_type, C, const allocator<C>&);
> + S::_S_construct(S::size_type, C, S::allocator_type const&);
> #endif
Well, because there's no compiler-visible bug. Apparently,
allocator_type happens to be allocator<C> in all of our actual
usages of basic_string.
--
Chip Salzenberg - a.k.a. - <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K