This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/10119: Template member function compile time address: not implemented
- From: philippeb at videotron dot ca
- To: gcc-gnats at gcc dot gnu dot org
- Date: 17 Mar 2003 04:13:35 -0000
- Subject: c++/10119: Template member function compile time address: not implemented
- Reply-to: philippeb at videotron dot ca
>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