public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47335] New: "sorry, unimplemented: mangling overload"
@ 2011-01-17 21:15 zeratul976 at hotmail dot com
  2011-01-17 22:26 ` [Bug c++/47335] [C++0x] " paolo.carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zeratul976 at hotmail dot com @ 2011-01-17 21:15 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: "sorry, unimplemented: mangling overload"
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zeratul976@hotmail.com


For the following code:

struct A
{
    template <typename T>
    int f(T);
};

template <typename T>
auto g(T x) -> decltype(A().f(x));

void h() { g(0); }

gcc trunk gives the error:

test.cpp: In function ‘void h()’:
test.cpp:10: sorry, unimplemented: mangling overload

As far as I can tell, this is valid C++0x code.

Are there any plans to implement this? I wasn't able to find an existing bug
about it.


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

end of thread, other threads:[~2012-01-02 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-17 21:15 [Bug c++/47335] New: "sorry, unimplemented: mangling overload" zeratul976 at hotmail dot com
2011-01-17 22:26 ` [Bug c++/47335] [C++0x] " paolo.carlini at oracle dot com
2011-05-23 16:20 ` jason at gcc dot gnu.org
2011-12-10 19:55 ` dave at boostpro dot com
2011-12-10 20:32 ` redi at gcc dot gnu.org
2012-01-02 17:51 ` paolo.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).