AggregateDeclaration.fill

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

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

Parameters

loc
Type: Loc

location

elements

explicit arguments which given to construct object.

ctorinit
Type: 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