• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#include <complex>
21
22#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
23#  pragma GCC system_header
24#endif
25
26#if _LIBCPP_STD_VER >= 20
27
28using __standard_header_ccomplex _LIBCPP_DEPRECATED_("removed in C++20. Include <complex> instead.") = void;
29using __use_standard_header_ccomplex = __standard_header_ccomplex;
30
31#elif _LIBCPP_STD_VER >= 17
32
33using __standard_header_ccomplex _LIBCPP_DEPRECATED_("Include <complex> instead.") = void;
34using __use_standard_header_ccomplex                                               = __standard_header_ccomplex;
35
36#endif
37
38#endif // _LIBCPP_CCOMPLEX
39