On Wed, 17 Jul 2024 17:28:21 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:
> Okay. > > (Please don't go now and change all occurrences of `foo(pointer, size)` to > something like `foo( [&] [size] )` :-) I dislike the increased cognitive load > of this form, and prefer the classic pointer+size combo ) Even if I wanted to, that wouldn't be possible, since this syntax is only allowed when passing in an array of known size directly to the method, and the array has to match the parameter declaration in the method exactly ;) Will wait for approval from Phil and Alexey before pushing ------------- PR Comment: https://git.openjdk.org/jdk/pull/19798#issuecomment-2235323641