xref: /llvm-project/libcxx/include/ccomplex (revision f69585235ec85d54e0f3fc41b2d5700430907f99)
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_CCOMPLEX
11#define _LIBCPP_CCOMPLEX
12
13/*
14    ccomplex synopsis
15
16#include <complex>
17
18*/
19
20#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
21#  include <__cxx03/ccomplex>
22#else
23#  include <complex>
24
25#  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
26#    pragma GCC system_header
27#  endif
28
29#  if _LIBCPP_STD_VER >= 20
30
31using __standard_header_ccomplex
32    _LIBCPP_DEPRECATED_("removed in C++20. Include <complex> instead.") _LIBCPP_NODEBUG = void;
33using __use_standard_header_ccomplex _LIBCPP_NODEBUG                                    = __standard_header_ccomplex;
34
35#  elif _LIBCPP_STD_VER >= 17
36
37using __standard_header_ccomplex _LIBCPP_DEPRECATED_("Include <complex> instead.") _LIBCPP_NODEBUG = void;
38using __use_standard_header_ccomplex _LIBCPP_NODEBUG = __standard_header_ccomplex;
39
40#  endif
41#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
42
43#endif // _LIBCPP_CCOMPLEX
44