On 08.08.2010 01:52, BCS wrote:
What that is saying is that if the type of the function arg is a static
array... not if the value passed to the function is a static array...
Yes, it would help to read the spec a bit closer :)
The spec for array says:
Static arrays are value types. Unlike in C and D version 1, static
arrays are passed to functions by value. Static arrays can also be
returned by functions.
I don't get the static arrays are passed to functions by value part.
Here I am passing in a static and
On 2010-08-07 9:26, simendsjo wrote:
The spec for array says:
Static arrays are value types. Unlike in C and D version 1, static
arrays are passed to functions by value. Static arrays can also be
returned by functions.
I don't get the static arrays are passed to functions by value part.
Here I
simendsjo simen.end...@pandavre.com wrote:
The spec for array says:
Static arrays are value types. Unlike in C and D version 1, static
arrays are passed to functions by value. Static arrays can also be
returned by functions.
I don't get the static arrays are passed to functions by value
Hello simendsjo,
The spec for array says:
Static arrays are value types. Unlike in C and D version 1, static
arrays are passed to functions by value. Static arrays can also be
returned by functions.
I don't get the static arrays are passed to functions by value part.
Here I am passing in a