Report a bugIf you spot a problem with this page, click here to create a Bugzilla issue.
Improve this pageQuickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.
dmd.dstruct
Struct and union declarations.
class
StructDeclaration:
dmd.aggregate.AggregateDeclaration;
Allstruct declarations are an instance of this.
final bool
hasCopyConstruction();
Determine if struct has copy construction (copy constructor or postblit)
Returns:true if struct has copy construction
class
UnionDeclaration:
dmd.dstruct.StructDeclaration;
Unions are a variation on structs.