ddmd.dstruct - D Programming Language

Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Wiki
  - GitHub
  - Issues
  - Foundation
  - Donate
- Resources
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
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`(StructDeclaration `sd`);
  Search toString member function for TypeInfo_Struct. string toString();
void `semanticTypeInfo`(Scope* `sc`, Type `t`);
  Request additonal semantic analysis for TypeInfo generation.
class `StructDeclaration`: ddmd.aggregate.AggregateDeclaration;
  final bool `fit`(Loc `loc`, Scope* `sc`, Expressions* `elements`, Type `stype`);
    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. Returns `false` if any errors occur. Otherwise, returns `true` and `elements`[] 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 Tue May 23 07:38:41 2017