home | help
std::chrono::leap_second(3)    C++ Standard Libary   std::chrono::leap_second(3)

NAME
     std::chrono::leap_second - std::chrono::leap_second

Synopsis
	Defined in header <chrono>
	class leap_second;	    (since C++20)

	The  class leap_second represents the date and time of a leap second in-
     sertion.

	Users cannot construct leap_second objects except by copying from exist-
     ing
	leap_second objects. The library implementation creates leap_second  ob-
     jects when it
	initializes  the  time	zone database and provides const access to these
     objects.

	leap_second has a defaulted copy constructor and a  defaulted  copy  as-
     signment
	operator.

Member functions
	date obtains the time of leap second insertion
	     (public member function)

	Nonmember functions

	operator==
	operator<
	operator<=  compares two leap_second values or a leap_second value and a
     sys_time
	operator>   (function template)
	operator>=
	operator<=>
	(C++20)

Helper classes
	std::hash<std::chrono::leap_second>	   hash        support	     for
     std::chrono::leap_second
	(C++26) 			    (class template specialization)

http://cppreference.com 	   2024.06.10	     std::chrono::leap_second(3)

home | help