Deprecate implicit conversion between signed and unsigned integers

Walter Bright newshound2 at digitalmars.com
Thu Feb 6 20:55:43 UTC 2025


I forgot to mention:

```
int popcount(int x);
```
```
uint y = ...;
popcount(y);   // do you really want that to fail?
```

Let's fix it:

```
int popcount(uint x);
```
```
int y = ...;
popcount(y);   // now this fails
```


More information about the dip.ideas mailing list