Usage.previews

Returns all available previews

struct Usage
static immutable
auto previews = [Feature("dip25", "useDIP25", "implement https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP25.md (Sealed references)"), Feature("dip1000", "vsafe", "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("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"), 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"), Feature("markdown", "markdown", "enable Markdown replacements in Ddoc", false, false)];
Suggestion Box / Bug Report