std::chrono::duration<Rep,Period>::operator=

duration& operator=( const duration &other ) = default;
(since C++11)

Assigns the contents of one duration to another.

Parameters

other - duration to copy from

See also

constructs new duration
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/chrono/duration/operator=