string fix & mystery
Chip Salzenberg
chip@valinux.com
Fri Apr 21 12:13:00 GMT 2000
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
More information about the Libstdc++
mailing list