File indexing completed on 2026-05-03 08:13:54
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _LIBCPP___LOCALE_DIR_SUPPORT_NO_LOCALE_STRTONUM_H
0010 #define _LIBCPP___LOCALE_DIR_SUPPORT_NO_LOCALE_STRTONUM_H
0011
0012 #include <__config>
0013 #include <cstdlib>
0014
0015 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0016 # pragma GCC system_header
0017 #endif
0018
0019 _LIBCPP_BEGIN_NAMESPACE_STD
0020 namespace __locale {
0021
0022
0023
0024
0025 inline _LIBCPP_HIDE_FROM_ABI float __strtof(const char* __nptr, char** __endptr, __locale_t) {
0026 return std::strtof(__nptr, __endptr);
0027 }
0028
0029 inline _LIBCPP_HIDE_FROM_ABI double __strtod(const char* __nptr, char** __endptr, __locale_t) {
0030 return std::strtod(__nptr, __endptr);
0031 }
0032
0033 inline _LIBCPP_HIDE_FROM_ABI long double __strtold(const char* __nptr, char** __endptr, __locale_t) {
0034 return std::strtold(__nptr, __endptr);
0035 }
0036
0037 inline _LIBCPP_HIDE_FROM_ABI long long __strtoll(const char* __nptr, char** __endptr, int __base, __locale_t) {
0038 return std::strtoll(__nptr, __endptr, __base);
0039 }
0040
0041 inline _LIBCPP_HIDE_FROM_ABI unsigned long long
0042 __strtoull(const char* __nptr, char** __endptr, int __base, __locale_t) {
0043 return std::strtoull(__nptr, __endptr, __base);
0044 }
0045
0046 }
0047 _LIBCPP_END_NAMESPACE_STD
0048
0049 #endif