Nullable

From D Wiki
Revision as of 20:05, 8 September 2015 by O3o (talk | contribs)
Jump to: navigation, search

The module std.typecons provides the struct Nullable, which takes a single template argument. This allows for the creation of nullable primitives.

Nullable!int maybeIntValue;