Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

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

NAME
       std::chrono::local_t - std::chrono::local_t

Synopsis
	  Defined in header <chrono>
	  struct local_t {};	      (since C++20)

	  The  class  local_t is a pseudo-clock	that is	used as	the first tem-
       plate argument to
	  std::chrono::time_point to indicate that the time  point  represents
       local time with
	  respect  of  a  not-yet-specified  time  zone.  local_time  supports
       streaming and the full
	  set of time point arithmetic.

	 Time point family

	  Defined in namespace std::chrono
	  template<class Duration>
	  using	 local_time  =	 std::chrono::time_point<std::chrono::local_t,
       (since C++20)
	  Duration>;
	  using	     local_seconds     =     local_time<std::chrono::seconds>;
       (since C++20)
	  using	      local_days       =	local_time<std::chrono::days>;
       (since C++20)

	  operator<<(std::chrono::local_time)	   performs stream output on a
       local_time
	  (C++20)				  (function template)
	  from_stream(std::chrono::local_time)	  parses a local_time  from  a
       stream according
	  (C++20)				  to the provided format
						  (function template)
						  specialization  of std::for-
       matter that
	  std::formatter<std::chrono::local_time> formats a local_time accord-
       ing to the
	  (C++20)				  provided format
						  (class template  specializa-
       tion)

http://cppreference.com		  2022.07.31	       std::chrono::local_t(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::chrono::local_t&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help