http://d.puremagic.com/issues/show_bug.cgi?id=4233
Summary: Eponymous template template members inaccessible Product: D Version: 2.041 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: simen.kja...@gmail.com --- Comment #0 from Simen Kjaeraas <simen.kja...@gmail.com> 2010-05-25 09:23:24 PDT --- template foo( T ) { template foo( U ) { enum foo = is( U == T ); } } static assert( foo!( int )!( int ) ); The above code does not compile, complaining that the ! should not be there. Ok, so I use a FQN: static assert( foo!( int ).foo!( int ) ); Error: undefined identifier template foo(U).foo So apparently, there is no way to get access to the inner foo. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------