public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16058] New: Universal template argument ("<typename T>") not satisfied by function
@ 2004-06-18 11:40 igodard at pacbell dot net
2004-06-18 11:41 ` [Bug c++/16058] " igodard at pacbell dot net
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: igodard at pacbell dot net @ 2004-06-18 11:40 UTC (permalink / raw)
To: gcc-bugs
The templated member function operator<< (display.hh:335) accepts all kinds
of arguments - but not std::endl!!! This seems strange, as the formal is
simply the template type T and should accept anything at all.
--
Summary: Universal template argument ("<typename T>") not
satisfied by function
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16058
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16058] Universal template argument ("<typename T>") not satisfied by function
2004-06-18 11:40 [Bug c++/16058] New: Universal template argument ("<typename T>") not satisfied by function igodard at pacbell dot net
@ 2004-06-18 11:41 ` igodard at pacbell dot net
2004-06-18 11:43 ` igodard at pacbell dot net
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: igodard at pacbell dot net @ 2004-06-18 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2004-06-18 11:41 -------
Created an attachment (id=6559)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6559&action=view)
Compiler output (-v -save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16058
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16058] Universal template argument ("<typename T>") not satisfied by function
2004-06-18 11:40 [Bug c++/16058] New: Universal template argument ("<typename T>") not satisfied by function igodard at pacbell dot net
2004-06-18 11:41 ` [Bug c++/16058] " igodard at pacbell dot net
@ 2004-06-18 11:43 ` igodard at pacbell dot net
2004-06-18 14:06 ` bangerth at dealii dot org
2004-06-18 23:49 ` igodard at pacbell dot net
3 siblings, 0 replies; 5+ messages in thread
From: igodard at pacbell dot net @ 2004-06-18 11:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2004-06-18 11:43 -------
Created an attachment (id=6560)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6560&action=view)
Source code (-save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16058
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16058] Universal template argument ("<typename T>") not satisfied by function
2004-06-18 11:40 [Bug c++/16058] New: Universal template argument ("<typename T>") not satisfied by function igodard at pacbell dot net
2004-06-18 11:41 ` [Bug c++/16058] " igodard at pacbell dot net
2004-06-18 11:43 ` igodard at pacbell dot net
@ 2004-06-18 14:06 ` bangerth at dealii dot org
2004-06-18 23:49 ` igodard at pacbell dot net
3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2004-06-18 14:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-06-18 14:06 -------
std::endl is actually an overloaded set of functions. You have to pick
one of them before passing it as an argument to a template type variable.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16058
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16058] Universal template argument ("<typename T>") not satisfied by function
2004-06-18 11:40 [Bug c++/16058] New: Universal template argument ("<typename T>") not satisfied by function igodard at pacbell dot net
` (2 preceding siblings ...)
2004-06-18 14:06 ` bangerth at dealii dot org
@ 2004-06-18 23:49 ` igodard at pacbell dot net
3 siblings, 0 replies; 5+ messages in thread
From: igodard at pacbell dot net @ 2004-06-18 23:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2004-06-18 23:48 -------
You'd get fewer crappy bug reports from me if the diagnostics were better :-) I'll put in a few about the error message quality (which is what misled me into thinking this was an identification bug) just so you won't feel lonely :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16058
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-06-18 23:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-18 11:40 [Bug c++/16058] New: Universal template argument ("<typename T>") not satisfied by function igodard at pacbell dot net
2004-06-18 11:41 ` [Bug c++/16058] " igodard at pacbell dot net
2004-06-18 11:43 ` igodard at pacbell dot net
2004-06-18 14:06 ` bangerth at dealii dot org
2004-06-18 23:49 ` igodard at pacbell dot net
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).