OneOf<S, T> constructor

const OneOf<S, T>(
  1. Cast<S> left,
  2. Cast<T> right
)

Implementation

const OneOf(Cast<S> left, Cast<T> right)
    : _left = left,
      _right = right;