Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-03 08:13:24

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 // For information see https://libcxx.llvm.org/DesignDocs/TimeZone.html
0011 
0012 #ifndef _LIBCPP___CXX03___CHRONO_LOCAL_INFO_H
0013 #define _LIBCPP___CXX03___CHRONO_LOCAL_INFO_H
0014 
0015 #include <__cxx03/version>
0016 // Enable the contents of the header only when libc++ was built with experimental features enabled.
0017 #if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)
0018 
0019 #  include <__cxx03/__chrono/sys_info.h>
0020 #  include <__cxx03/__config>
0021 
0022 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0023 #    pragma GCC system_header
0024 #  endif
0025 
0026 _LIBCPP_BEGIN_NAMESPACE_STD
0027 
0028 #  if _LIBCPP_STD_VER >= 20
0029 
0030 namespace chrono {
0031 
0032 struct local_info {
0033   static constexpr int unique      = 0;
0034   static constexpr int nonexistent = 1;
0035   static constexpr int ambiguous   = 2;
0036 
0037   int result;
0038   sys_info first;
0039   sys_info second;
0040 };
0041 
0042 } // namespace chrono
0043 
0044 #  endif // _LIBCPP_STD_VER >= 20
0045 
0046 _LIBCPP_END_NAMESPACE_STD
0047 
0048 #endif // !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)
0049 
0050 #endif // _LIBCPP___CXX03___CHRONO_LOCAL_INFO_H