public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11407] New: Function cannot be resolved
@ 2003-07-02 15:28 bangerth at dealii dot org
  2003-07-04 22:28 ` [Bug c++/11407] [DR 115] " bangerth at dealii dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: bangerth at dealii dot org @ 2003-07-02 15:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Function cannot be resolved
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org

I'm surprised to find out that gcc doesn't grok this:
-----------------------------
template <int N> void f () {}

void g () {
  &f<2>;
}
-----------------------------
icc accepts this, but with gcc I get
tmp/gg> ../build-gcc/gcc-install/bin/c++ -c abc.cc
abc.cc: In function `void g()':
abc.cc:4: error: statement cannot resolve address of overloaded function

f<2> is a fully specialized function name, so it is not overloaded. How
am I supposed to use this?

W.


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

end of thread, other threads:[~2010-08-27 18:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11407-102@http.gcc.gnu.org/bugzilla/>
2006-05-29  0:13 ` [Bug c++/11407] [DR 115] Function cannot be resolved pinskia at gcc dot gnu dot org
2006-09-22 23:34 ` pinskia at gcc dot gnu dot org
2006-10-09 17:58 ` pinskia at gcc dot gnu dot org
2007-08-06 13:58 ` pinskia at gcc dot gnu dot org
2007-09-23 18:27 ` jason at gcc dot gnu dot org
2007-12-06 21:46 ` pinskia at gcc dot gnu dot org
2008-02-28 16:48 ` pinskia at gcc dot gnu dot org
2008-11-28 17:04 ` pinskia at gcc dot gnu dot org
2008-12-27 22:11 ` pinskia at gcc dot gnu dot org
2009-01-30  0:21 ` pinskia at gcc dot gnu dot org
2009-11-04 16:08 ` jason at gcc dot gnu dot org
2010-08-27 18:33 ` pinskia at gcc dot gnu dot org
2003-07-02 15:28 [Bug c++/11407] New: " bangerth at dealii dot org
2003-07-04 22:28 ` [Bug c++/11407] [DR 115] " bangerth at dealii dot org
2003-08-04  0:31 ` pinskia at physics dot uc dot edu
2003-12-06  8:10 ` pinskia at gcc dot gnu dot org
2004-04-02  8:05 ` stl at caltech dot edu
2004-04-02 12:33 ` pinskia at gcc dot gnu dot org
2004-05-29  2:52 ` pinskia at gcc dot gnu dot org

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).