static if issue?

DLearner bmqazwsx123 at gmail.com
Wed Mar 11 15:46:13 UTC 2026


On Wednesday, 11 March 2026 at 15:28:51 UTC, H. S. Teoh wrote:
> On Wed, Mar 11, 2026 at 03:13:25PM +0000, DLearner via [...]
>
> Write it this way instead:
>
> ```
> 	static if (!is(typeof(IntVar1) == int)) { ... }
> ```
>
>
> --T

Thanks!


More information about the Digitalmars-d-learn mailing list