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 10export namespace std { 11 12 // [complex], class template complex 13 using std::complex; 14 15 // [complex.ops], operators 16 using std::operator+; 17 using std::operator-; 18 using std::operator*; 19 using std::operator/; 20 21 using std::operator==; 22#ifndef _LIBCPP_HAS_NO_LOCALIZATION 23 using std::operator>>; 24 using std::operator<<; 25#endif // _LIBCPP_HAS_NO_LOCALIZATION 26 27 // [complex.value.ops], values 28 using std::imag; 29 using std::real; 30 31 using std::abs; 32 using std::arg; 33 using std::norm; 34 35 using std::conj; 36 using std::polar; 37 using std::proj; 38 39 // [complex.transcendentals], transcendentals 40 using std::acos; 41 using std::asin; 42 using std::atan; 43 44 using std::acosh; 45 using std::asinh; 46 using std::atanh; 47 48 using std::cos; 49 using std::cosh; 50 using std::exp; 51 using std::log; 52 using std::log10; 53 54 using std::pow; 55 56 using std::sin; 57 using std::sinh; 58 using std::sqrt; 59 using std::tan; 60 using std::tanh; 61 62#if _LIBCPP_STD_VER >= 26 63 // [complex.tuple], tuple interface 64 using std::get; 65 using std::tuple_element; 66 using std::tuple_size; 67#endif 68 69 // [complex.literals], complex literals 70 inline namespace literals { 71 inline namespace complex_literals { 72 using std::operator""il; 73 using std::operator""i; 74 using std::operator""if; 75 } // namespace complex_literals 76 } // namespace literals 77 78} // namespace std 79