recursive template (first attempt)

Ryan Steen Ryan_member at pathlink.com
Wed Apr 19 20:57:54 PDT 2006


In article <e26v01$2m8$1 at digitaldaemon.com>, akcom says...

>		static if ( t.length == 0 )
>		static if ( t.length & 1 )
>main.d(49): expression ((t).length) == 0u does not evaluate to a boolean
>main.d(53): expression ((t).length) & 1u does not evaluate to a boolean

"It is an error if AssignExpression ... cannot be evaluated at compile time."





More information about the Digitalmars-d-learn mailing list