This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16505] New: std::uninitialized_fill_n() incorrect signature
- From: "sebor at roguewave dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2004 23:34:28 -0000
- Subject: [Bug libstdc++/16505] New: std::uninitialized_fill_n() incorrect signature
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The function template std::uninitialized_fill_n() is decleared with
the incorrect signature in the libstdc++ that comes with gcc 3.4.0.
$ cat t.cpp && g++ --version && g++ -c t.cpp
#include <memory>
struct S { };
template
void std::uninitialized_fill_n<S*, int, S>(S*, int, const S&);
g++ (GCC) 3.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
t.cpp:6: error: template-id `uninitialized_fill_n<S*, int, S>' for `void
std::uninitialized_fill_n(S*, int, const S&)' does not match any template
declaration
--
Summary: std::uninitialized_fill_n() incorrect signature
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sebor at roguewave dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16505