命名空间
变体
操作

std::chrono::zoned_time<Duration,TimeZonePtr>::get_time_zone

来自 cppreference.cn
< cpp‎ | chrono‎ | zoned time
 
 
 
 
TimeZonePtr get_time_zone() const;
(自 C++20 起)

检索存储的时区指针。

[编辑] 返回值

存储的时区指针的副本。

[编辑] 注解

TimeZonePtr 是仅移动类型时,无法访问时区指针。