defaultInit

Get the default initialization expression for a type.

extern (C++)
defaultInit
(,
const ref Loc loc
,
const bool isCfile = false
)

Parameters

mt Type

the type for which the init expression is returned

loc Loc

the location where the expression needs to be evaluated

isCfile bool

default initializers are different with C

Return Value

The initialization expression for the type.

Meta