From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne.Adams@bigfoot.com To: gcc-gnats@gcc.gnu.org Subject: c++/3541: address of template functions in namespaces can't be taken Date: Tue, 03 Jul 2001 06:36:00 -0000 Message-id: <20010703133010.22759.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00063.html List-Id: >Number: 3541 >Category: c++ >Synopsis: address of template functions in namespaces can't be taken >Confidential: no >Severity: critical >Priority: high >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jul 03 06:36:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Arne Adams Emanuel Geibel Str. 8 65185 Wiesbaden Germany >Release: 2.95.3 20010315 (SuSE) >Organization: >Environment: SUSE Linux 7.2 >Description: class C{}; namespace n {template inline void templFun(T1 t){}}; int main(void) { typedef void (*FunP)(C); FunP fuP = &n::templFun; } /* gives internal compiler error 373 */ >How-To-Repeat: see description >Fix: >Release-Note: >Audit-Trail: >Unformatted: