• 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_CTGMATH
11#define _LIBCPP_CTGMATH
12
13/*
14    ctgmath synopsis
15
16#include <ccomplex>
17#include <cmath>
18
19*/
20
21#include <cmath>
22#include <complex>
23
24#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
25#  pragma GCC system_header
26#endif
27
28#if _LIBCPP_STD_VER >= 20
29
30using __standard_header_ctgmath _LIBCPP_DEPRECATED_("removed in C++20. Include <cmath> and <complex> instead.") = void;
31using __use_standard_header_ctgmath = __standard_header_ctgmath;
32
33#elif _LIBCPP_STD_VER >= 17
34
35using __standard_header_ctgmath _LIBCPP_DEPRECATED_("Include <cmath> and <complex> instead.") = void;
36using __use_standard_header_ctgmath = __standard_header_ctgmath;
37
38#endif
39
40#endif // _LIBCPP_CTGMATH
41