[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: c++/3943: Template function and using declaration



fasbjx@libertysurf.fr, Branjonneau@free.fr writes:

| >Class:          ice-on-legal-code

| The following code:
| 
| namespace N {
| 
| template< int >
| void f() {}
| 
| }
| 
| using N::f< 0 >;
| 
| doesn't compile. From codesourcery:

The program construct is ill-formed.

Arguably, an ICE isn't an acceptable diagnostic :-)

-- Gaby



Reply to: