public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/25304]  New: std::fill_n, std::generate_n incorrect signature
@ 2005-12-07 21:06 sebor at roguewave dot com
  2005-12-07 22:21 ` [Bug libstdc++/25304] " pinskia at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: sebor at roguewave dot com @ 2005-12-07 21:06 UTC (permalink / raw)
  To: gcc-bugs

Both template functions are required to return void.

$ cat u.cpp && g++ -c u.cpp
#include <algorithm>

template void std::fill_n (int*, int, const int&);
template void std::generate_n (int*, int, int (*)());

int main () { }
u.cpp:3: error: template-id 'fill_n<>' for 'void std::fill_n(int*, int, const
int&)' does not match any template declaration
u.cpp:4: error: template-id 'generate_n<>' for 'void std::generate_n(int*, int,
int (*)())' does not match any template declaration


-- 
           Summary: std::fill_n, std::generate_n incorrect signature
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sebor at roguewave dot com
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2009-12-15  0:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
2005-12-07 22:21 ` [Bug libstdc++/25304] " pinskia at gcc dot gnu dot org
2005-12-07 22:23 ` pinskia at gcc dot gnu dot org
2005-12-07 22:26 ` pinskia at gcc dot gnu dot org
2005-12-07 23:39 ` pcarlini at suse dot de
2005-12-07 23:42 ` gdr at integrable-solutions dot net
2005-12-08  0:01 ` pcarlini at suse dot de
2005-12-08  0:08 ` sebor at roguewave dot com
2005-12-08  0:20 ` pcarlini at suse dot de
2005-12-08  3:32 ` gdr at integrable-solutions dot net
2005-12-08 15:51 ` sebor at roguewave dot com
2005-12-08 16:04 ` gdr at integrable-solutions dot net
2005-12-08 16:11 ` pcarlini at suse dot de
2005-12-08 16:20 ` pcarlini at suse dot de
2005-12-08 16:23 ` gdr at integrable-solutions dot net
2005-12-08 16:27 ` sebor at roguewave dot com
2005-12-08 17:12 ` gdr at integrable-solutions dot net
2006-01-04 13:53 ` chris at bubblescope dot net
2006-01-04 13:58 ` pcarlini at suse dot de
2006-02-26 10:09 ` pcarlini at suse dot de
2009-12-14 23:26 ` [Bug libstdc++/25304] [DR 865] " paolo dot carlini at oracle dot com
2009-12-15  0:08 ` paolo at gcc dot gnu dot org
2009-12-15  0:10 ` paolo dot carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).