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::choose(3) C++ Standard Libary std::chrono::choose(3)

std::chrono::choose - std::chrono::choose


Defined in header <chrono>
enum class choose {


earliest, (since C++20)
latest


};


The scoped enumeration choose can be passed to certain member functions of
std::chrono::time_zone and std::chrono::zoned_time to control how ambiguous or
nonexistent local times should be resolved. Passing choose::earliest causes the
earlier time point to be returned, while passing choose::latest causes the later
time point to be returned. (For nonexistent local times, these two time points are
identical.)


If a choose is not passed and an ambiguous or nonexistent local time is encountered,
a std::chrono::ambiguous_local_time or std::chrono::nonexistent_local_time exception
(as applicable) will be thrown.


constructs a zoned_time
constructor (public member function of
std::chrono::zoned_time<Duration,TimeZonePtr>)
to_sys converts a local_time in this time zone to a sys_time
(public member function of std::chrono::time_zone)

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.