static if - unexpected results

DLearner bmqazwsx123 at gmail.com
Fri Jun 23 15:22:36 UTC 2023


On Friday, 23 June 2023 at 14:31:45 UTC, FeepingCreature wrote:
> On Friday, 23 June 2023 at 14:22:24 UTC, DLearner wrote:
[...]
>
> ```
> static assert(__traits(isPOD, int)); // ok.
> static assert(__traits(isPOD, byte)); // ok.
> ```
> It's a bug in either the spec or the compiler.

I am using
```
DMD64 D Compiler v2.103.0-dirty

```
under
  ```
Windows [Version 10.0.19045.3086]
```

Do I need to report this anywhere?


More information about the Digitalmars-d-learn mailing list