Namespaces
Variants
Views
Actions

std::chrono::duration::operator=

From cppreference.com
duration& operator=(const duration &other) = default;

Assigns the contents of one duration to another.

[edit] Parameters

other - duration to copy from

[edit] See also

constructs new duration
(public member function) [edit]