mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 11:36:52 +00:00

In essence, this header has always been related to configuration of the library but we didn't want to put it inside <__config> due to complexity reasons. Now that we have sub-headers in <__config>, we can move <__availability> to it and stop including it everywhere since we already obtain the required macros via <__config>.
56 lines
2.3 KiB
C++
56 lines
2.3 KiB
C++
// -*- C++ -*-
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP___CHARCONV_TO_CHARS_FLOATING_POINT_H
|
|
#define _LIBCPP___CHARCONV_TO_CHARS_FLOATING_POINT_H
|
|
|
|
#include <__charconv/chars_format.h>
|
|
#include <__charconv/to_chars_result.h>
|
|
#include <__config>
|
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
# pragma GCC system_header
|
|
#endif
|
|
|
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
|
|
#if _LIBCPP_STD_VER >= 17
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, float __value);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, double __value);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, long double __value);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, float __value, chars_format __fmt);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, double __value, chars_format __fmt);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, long double __value, chars_format __fmt);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __precision);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __precision);
|
|
|
|
_LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result
|
|
to_chars(char* __first, char* __last, long double __value, chars_format __fmt, int __precision);
|
|
#endif // _LIBCPP_STD_VER >= 17
|
|
|
|
_LIBCPP_END_NAMESPACE_STD
|
|
|
|
#endif // _LIBCPP___CHARCONV_TO_CHARS_FLOATING_POINT_H
|