Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly 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 using
a local clone.
ddmd.dstruct
- FuncDeclaration
search_toString(StructDeclarationsd); - Search toString member function for TypeInfo_Struct. string toString();
- void
semanticTypeInfo(Scope*sc, Typet); - Request additonal semantic analysis for TypeInfo generation.
- class
StructDeclaration: ddmd.aggregate.AggregateDeclaration; -
- final bool
fit(Locloc, Scope*sc, Expressions*elements, Typestype); - Fit
elements[] to the corresponding type of field[].Input:
locscelementsThe explicit arguments that given to construct object.stypeThe constructed object type. Returnsfalseif any errors occur. Otherwise, returnstrueandelements[] are rewritten for the output. - final bool
isPOD(); - Return
trueif struct is POD (Plain Old Data). This is defined as: not nested no postblits, destructors, or assignment operators no 'ref' fields or fields that are themselves non-POD The idea being these are compatible with C structs.
- class
UnionDeclaration: ddmd.dstruct.StructDeclaration;
Copyright © 1999-2017 by the D Language Foundation | Page generated by
Ddoc on Wed May 31 23:35:47 2017