Usage.previews
struct Usage
static immutable
auto previews =
[Feature("dip25", "useDIP25", "implement https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP25.md (Sealed references)", true, true), Feature("dip1000", "useDIP1000", "implement https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1000.md (Scoped Pointers)"), Feature("dip1008", "ehnogc", "implement https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1008.md (@nogc Throwable)"), Feature("dip1021", "useDIP1021", "implement https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1021.md (Mutable function arguments)"), Feature("bitfields", "bitfields", "add bitfields https://github.com/dlang/dlang.org/pull/3190"), Feature("fieldwise", "fieldwise", "use fieldwise comparisons for struct equality"), Feature("fixAliasThis", "fixAliasThis", "when a symbol is resolved, check alias this scope before going to upper scopes"), 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"), Feature("nosharedaccess", "noSharedAccess", "disable access to shared memory objects"), Feature("in", "previewIn", "`in` on parameters means `scope const [ref]` and accepts rvalues"), Feature("inclusiveincontracts", "inclusiveInContracts", "'in' contracts of overridden methods must be a superset of parent contract"), Feature("shortenedMethods", "shortenedMethods", "allow use of => for methods and top-level functions in addition to lambdas", false, true), Feature("fixImmutableConv", "fixImmutableConv", "disallow unsound immutable conversions that were formerly incorrectly permitted"), Feature("systemVariables", "systemVariables", "disable access to variables marked '@system' from @safe code")];
dmd cli Usage
static variablesstructs
Returns all available previews