AggregateDeclaration.fill

Fill out remainder of elements[] with default initializers for fields[].

class AggregateDeclaration
final
bool
fill
(
const ref Loc loc
,
ref Expressions elements
,)

Parameters

loc Loc

location

elements Expressions

explicit arguments which given to construct object.

ctorinit bool

true if the elements will be used for default initialization.

Return Value

Type: bool

false if any errors occur. Otherwise, returns true and the missing arguments will be pushed in elements[].

Meta