hasElaborateAssign

Determines whether T has an elaborate assign.

Only $(D_KEYWORD struct)s and static arrays of $(D_KEYWORD struct)s with the length greater than0 can have an elaborate assign, for all other types $(D_PSYMBOL hasElaborateAssign) evaluates to $(D_KEYWORD false).

An elaborate assign is defined with opAssign(typeof(this)) or opAssign(ref typeof(this)). An elaborate assign can be generated for a $(D_KEYWORD struct) by the compiler if one of the members of this $(D_KEYWORD struct) has an elaborate assign.

Members

Variables

hasElaborateAssign
enum bool hasElaborateAssign;
Undocumented in source.
hasElaborateAssign
enum bool hasElaborateAssign;
Undocumented in source.
hasElaborateAssign
enum bool hasElaborateAssign;
Undocumented in source.

Parameters

T

A type.

Return Value

$(D_KEYWORD true) if T has an elaborate assign, $(D_KEYWORD false) otherwise.

Meta