mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-01-01 03:12:18 +08:00
# constexpr noexcept
This commit is contained in:
parent
be4683501e
commit
cdabfe49af
@ -79,7 +79,7 @@ template <typename T> std::string fHexAndDec(T v) {
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
const std::string_view round_name(int const d) {
|
||||
constexpr std::string_view round_name(int const d) noexcept {
|
||||
switch (d) {
|
||||
case FE_UPWARD:
|
||||
return "FE_UPWARD";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user