Either._readRight
private
_RightBox!S _readRight(S)(return ref S storage) if (is(S == Storage) || is(S == const(Storage))
|| is(S == immutable(Storage)) || is(S == inout(Storage))) static ref pure nothrow @nogc @trustedRead the right alternative's storage without qualifier loss.
Parameters
storage | union storage to read, under any qualifier. |
Returns
reference to the right alternative's wrapper, same qualifier.