zoned_time& operator=( const zoned_time& other ) = default;
(1) (since C++20) (2) (since C++20) (3) (since C++20)Assign the value of other to *this.
1) Defaulted copy assignment operator. Copy-assigns both the stored time point and the stored time zone pointer. zoned_time
has no move assignment operator; a move is a copy.
2) Assigns other to the stored time point. The time zone pointer is unchanged. After this call, get_sys_time() == other.
3) Converts other to a std::chrono::sys_time as if by zone->to_sys(other) (where zone
is the non-static data member holding the stored time zone pointer) and assigns the result to the stored time point. The time zone pointer is unchanged. After this call, get_local_time() == other.
*this
[edit] ExceptionsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4