------- Comment #8 from sebor at roguewave dot com  2008-07-14 15:41 -------
(In reply to comment #7)
> Subject: Re:  ICE on SFINAE and __is_empty
> 
> sebor at roguewave dot com wrote:
> 
> > My preference would be for gcc to avoid imposing restrictions on the use
> > of these helpers to facilitate portability to other compilers such as EDG
> > eccp (the latest 3.10.1 compiles the test case correctly).
> 
> How does it mangle it?

Like so:

    int foo<A<0> >(B<A<0>, __is_empty (A<0>)>::X*):
        _Z3fooI1AILi0EEEiPN1BIT_Xv19builtin16TOS3_EE1XE

    int foo<int>(B<int, !__is_empty (int)>::X*):
        _Z3fooIiEiPN1BIT_Xntv19builtin16TOS1_EE1XE


-- 


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

Reply via email to