The is expression

spir denis.spir at gmail.com
Sat Apr 2 02:24:50 PDT 2011


On 04/02/2011 12:14 AM, enuhtac wrote:
> template isA( T )
> {
>      static if( is( T U == A!( U, s ), string s ) )
>          enum bool isA = true;
>      else
>          enum bool isA = false;
> };

What does ", string s" do here inside the is expression?

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d-learn mailing list