-template<typename Time>
-const Note<Time>&
-Note<Time>::operator=(const Note<Time>& other)
-{
- _on_event = other._on_event;
- _off_event = other._off_event;
-
- assert(time() == other.time());
- assert(end_time() == other.end_time());
- assert(length() == other.length());
- assert(note() == other.note());
- assert(velocity() == other.velocity());
- assert(_on_event.channel() == _off_event.channel());
- assert(channel() == other.channel());
-
- return *this;
-}
-