This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
[patch] string fix & mystery
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: [patch] string fix & mystery
- From: ncm at cantrip dot org
- Date: Wed, 19 Apr 2000 18:56:42 -0700
- Reply-To: libstdc++ at sourceware dot cygnus dot com
Attached below is a fix for a bug in src/string-inst.cc.
The mystery is, why does the compiler not report the bug?
Nathan Myers
ncm@cantrip.org
-----------
Index: string-inst.cc
===================================================================
RCS file: /cvs/libstdc++/libstdc++/src/string-inst.cc,v
retrieving revision 1.12
diff -u -r1.12 string-inst.cc
--- string-inst.cc 2000/04/19 16:14:59 1.12
+++ string-inst.cc 2000/04/20 01:54:46
@@ -280,8 +280,7 @@
#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
#ifdef FIND