Function Option.this

Constructs a new option with value.

this (
  ref T value
);

this (
  T value
) @trusted;

Parameters

NameDescription
value Encapsulated value.