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:
loc
sc
elements
The explicit arguments that given to construct object.stype
The constructed object type. Returnsfalse
if any errors occur. Otherwise, returnstrue
andelements
[] are rewritten for the output. - final bool
isPOD
(); - Return
true
if 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 Mon Apr 3 14:04:13 2017