c++/10119: Template member function compile time address: not implemented

philippeb@videotron.ca philippeb@videotron.ca
Mon Mar 17 09:08:00 GMT 2003


>Number:         10119
>Category:       c++
>Synopsis:       Template member function compile time address: not implemented
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 17 04:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     gcc
>Release:        3.0.4
>Organization:
>Environment:
Debian GNU / Linux
>Description:
The address of a template member function cannot be used at compile time.  The attached file output:

amftp.cpp:12: sorry, not implemented: `component_ref' not supported by
   dump_decl
amftp.cpp:12: sorry, not implemented: `component_ref' not supported by
   dump_decl
>How-To-Repeat:

>Fix:
Take the address of a non-template member function instead.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="amftp.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="amftp.cpp"

dGVtcGxhdGUgPGNsYXNzIFQsIHZvaWQgKFQ6OiogY29uc3QgVSkoKT4KCXN0cnVjdCBpZAoJewoJ
CXN0YXRpYyBpbnQgY29uc3QgdmFsdWUgPSAwOwoJfTsKCnN0cnVjdCBBCnsKCXRlbXBsYXRlIDx0
eXBlbmFtZSBVPgoJCXZvaWQgZm9vKCkKCQl7CgkJCXN0YXRpYyBpbnQgY29uc3Qgc19pZCA9IGlk
PEEsICh2b2lkIChBOjoqKSgpKSAoJiBBOjpmb288VT4pPjo6dmFsdWU7CgkJfQp9OwoKCmludCBt
YWluKCkKewoJQSgpLmZvbzxpbnQ+KCk7Cn0K



More information about the Gcc-bugs mailing list