View source code
Display the source code in dmd/dstruct.d from which this page was generated on github.
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 local clone.

Module dmd.dstruct

Struct and union declarations.

Specification

Structs, Unions

Documentation

https://dlang.org/phobos/dmd_dstruct.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dstruct.d

Functions

NameDescription
_isZeroInit(exp) Determine if exp is all binary zeros.
search_toString(sd) Search sd for a member function of the form: extern (D) string toString();
semanticTypeInfo(sc, t) Request additional semantic analysis for TypeInfo generation.

Classes

NameDescription
StructDeclaration All struct declarations are an instance of this.
UnionDeclaration Unions are a variation on structs.

Authors

Walter Bright

License

Boost License 1.0