Syntax of...

Sergey kornburn at yandex.ru
Sun Apr 12 10:42:29 UTC 2026


On Saturday, 11 April 2026 at 23:06:21 UTC, Justin P. wrote:
> When operating on an array, can I assume that it will return an 
> array?:: auto x=["who","whoami"].execute

mm no..
it doesn't matter as function has 2 types
`OutType func(InputType x)`

You can have different types for input arguments and output 
arguments.


More information about the Digitalmars-d-learn mailing list