Target.preferPassByRef

Decides whether an in parameter of the specified POD type is to be passed by reference or by value. To be used with -preview=in only!

struct Target
extern (C++)
bool
preferPassByRef

Parameters

t Type

type of the in parameter, must be a POD

Return Value

Type: bool

true if the in parameter is to be passed by reference

Suggestion Box / Bug Report