Interval.copy constructor

Interval.copy(
  1. Interval other
)

Creates a copy of the other interval.

Implementation

Interval.copy(Interval other)
    : _start = other.start,
      _end = other.end;