libstdc++: Add missing noexcept to std::from_chars declarations
libstdc++-v3/ChangeLog: * include/std/charconv (from_chars): Add noexcept to match definitions in src/c++17/floating_from_chars.cc
This commit is contained in:
parent
044b04348c
commit
e579f66c3c
@ -691,15 +691,15 @@ namespace __detail
|
||||
#if _GLIBCXX_HAVE_USELOCALE
|
||||
from_chars_result
|
||||
from_chars(const char* __first, const char* __last, float& __value,
|
||||
chars_format __fmt = chars_format::general);
|
||||
chars_format __fmt = chars_format::general) noexcept;
|
||||
|
||||
from_chars_result
|
||||
from_chars(const char* __first, const char* __last, double& __value,
|
||||
chars_format __fmt = chars_format::general);
|
||||
chars_format __fmt = chars_format::general) noexcept;
|
||||
|
||||
from_chars_result
|
||||
from_chars(const char* __first, const char* __last, long double& __value,
|
||||
chars_format __fmt = chars_format::general);
|
||||
chars_format __fmt = chars_format::general) noexcept;
|
||||
#endif
|
||||
|
||||
_GLIBCXX_END_NAMESPACE_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user