Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/cstdbool is written in an unsupported language. File is not indexed.

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 #ifndef _LIBCPP_CSTDBOOL
0011 #define _LIBCPP_CSTDBOOL
0012 
0013 /*
0014     cstdbool synopsis
0015 
0016 Macros:
0017 
0018     __bool_true_false_are_defined
0019 
0020 */
0021 
0022 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0023 #  include <__cxx03/cstdbool>
0024 #else
0025 #  include <__config>
0026 
0027 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0028 #    pragma GCC system_header
0029 #  endif
0030 
0031 #  undef __bool_true_false_are_defined
0032 #  define __bool_true_false_are_defined 1
0033 
0034 #  if _LIBCPP_STD_VER >= 20
0035 
0036 using __standard_header_cstdbool _LIBCPP_DEPRECATED_("removed in C++20.") _LIBCPP_NODEBUG = void;
0037 using __use_standard_header_cstdbool _LIBCPP_NODEBUG                                      = __standard_header_cstdbool;
0038 
0039 #  elif _LIBCPP_STD_VER >= 17
0040 
0041 using __standard_header_cstdbool _LIBCPP_DEPRECATED _LIBCPP_NODEBUG = void;
0042 using __use_standard_header_cstdbool _LIBCPP_NODEBUG                = __standard_header_cstdbool;
0043 
0044 #  endif
0045 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0046 
0047 #endif // _LIBCPP_CSTDBOOL