Common type of ubyte and const ubyte is int
Walter Bright
newshound2 at digitalmars.com
Sat May 4 21:31:14 UTC 2024
On 5/4/2024 8:34 AM, Daniel N wrote:
> However as you can see in my post
> https://forum.dlang.org/post/fhmzjloxfzzwgmohkxnc@forum.dlang.org
> C++ actually went the other direction on this, in the rare cases that they
> differ, shouldn't D be free to chose the best option from C or C++?
True, but D is more compatible with C than with C++.
More information about the Digitalmars-d
mailing list