std::chrono::duration<Rep,Period>::operator= (3) - Linux Man Pages

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

NAME

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

Synopsis


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
constructor (public member function)