GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::chrono::zoned_time::operator=(3) C++ Standard Libary std::chrono::zoned_time::operator=(3)

std::chrono::zoned_time::operator= - std::chrono::zoned_time::operator=


zoned_time& operator=(const zoned_time& other) = default; (1) (since C++20)
zoned_time& operator=(const std::chrono::sys_time<Duration>& (2) (since C++20)
other);
zoned_time& operator=(const std::chrono::local_time<Duration>& (3) (since C++20)
other);


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.

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.