View source code
Display the source code in dmd/cli.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.
Variable dmd.cli.Usage.previews
Returns all available previews
struct Usage
{
// ...
immutable(Usage . Feature[]) previews
= [Feature("dip25", "useDIP25", "implement https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP25.md (Sealed references)", true, false), Feature("dip1000", "useDIP1000", "implement https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1000.md (Scoped Pointers)", true, false), Feature("dip1008", "ehnogc", "implement https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1008.md (@nogc Throwable)", true, false), Feature("dip1021", "useDIP1021", "implement https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1021.md (Mutable function arguments)", true, false), Feature("fieldwise", "fieldwise", "use fieldwise comparisons for struct equality", true, false), Feature("fixAliasThis", "fixAliasThis", "when a symbol is resolved, check alias this scope before going to upper scopes", true, false), Feature("intpromote", "fix16997", "fix integral promotions for unary + - ~ operators", false, true), Feature("dtorfields", "dtorFields", "destruct fields of partially constructed objects", false, false), Feature("rvaluerefparam", "rvalueRefParam", "enable rvalue arguments to ref parameters", true, false), Feature("nosharedaccess", "noSharedAccess", "disable access to shared memory objects", true, false), Feature("in", "previewIn", "`in` on parameters means `scope const [ref]` and accepts rvalues", true, false), Feature("inclusiveincontracts", "inclusiveInContracts", "'in' contracts of overridden methods must be a superset of parent contract", true, false), Feature("shortenedMethods", "shortenedMethods", "allow use of => for methods and top-level functions in addition to lambdas", true, false), Feature("markdown", "markdown", "enable Markdown replacements in Ddoc", false, false)];
// ...
}
Authors
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.