Constructs an Expected with value or error based on the tye of the provided.
In case when T == E, it constructs Expected with value.
In case when T == void, it constructs Expected with error value.
Default constructor (if enabled) initializes Expected to T.init value. If T == void, it initializes Expected with no error.
See Implementation
Constructs an Expected with value or error based on the tye of the provided.
In case when T == E, it constructs Expected with value.
In case when T == void, it constructs Expected with error value.
Default constructor (if enabled) initializes Expected to T.init value. If T == void, it initializes Expected with no error.