[time.zone.zonedtime.nonmembers] (original) (raw)

30 Time library [time]

30.11 Time zones [time.zone]

30.11.7 Class template zoned_time [time.zone.zonedtime]

30.11.7.4 Non-member functions [time.zone.zonedtime.nonmembers]

template<class Duration1, class Duration2, class TimeZonePtr> bool operator==(const zoned_time<Duration1, TimeZonePtr>& x,const zoned_time<Duration2, TimeZonePtr>& y);

Returns: x.zone_ == y.zone_ && x.tp_ == y.tp_.

template<class charT, class traits, class Duration, class TimeZonePtr> basic_ostream<charT, traits>& operator<<(basic_ostream<charT, traits>& os,const zoned_time<Duration, TimeZonePtr>& t);

Effects: Equivalent to:return os << format(os.getloc(), _STATICALLY-WIDEN_<charT>("{:L%F %T %Z}"), t);