Skip to content

Commit 67ce073

Browse files
committed
Remove old limits struct
1 parent b6ada23 commit 67ce073

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

include/boost/decimal/charconv.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,18 +1394,6 @@ constexpr auto to_chars(char* first, char* last, DecimalType value, std::chars_f
13941394

13951395
#endif // BOOST_DECIMAL_HAS_STD_CHARCONV
13961396

1397-
BOOST_DECIMAL_EXPORT template <typename T>
1398-
struct [[deprecated("Use formatting_limits instead")]] limits
1399-
{
1400-
static constexpr int max_chars = boost::decimal::detail::max_string_length_v<T>;
1401-
};
1402-
1403-
#if !(defined(__cpp_inline_variables) && __cpp_inline_variables >= 201606L) && (!defined(_MSC_VER) || _MSC_VER != 1900)
1404-
1405-
template <typename T> constexpr int limits<T>::max_chars;
1406-
1407-
#endif
1408-
14091397
} //namespace decimal
14101398
} //namespace boost
14111399

0 commit comments

Comments
 (0)