Is this a ctfe bugs ? ref scope const(ubyte)[32]

Adam D Ruppe destructionator at gmail.com
Wed Sep 6 12:15:02 UTC 2023


On Wednesday, 6 September 2023 at 12:04:40 UTC, d007 wrote:
> extern(C) int test(ref scope const(ubyte)[32] b);
> extern(C) int test(ref scope const(ubyte[32]) b);

These are the same thing since the ref cannot be rebound anyway; 
a static array just is its contents.


More information about the Digitalmars-d-learn mailing list