| 97 | |
| 98 | public: |
| 99 | static |
| 100 | constexpr |
| 101 | std::size_t |
| 102 | max_size() noexcept |
| 103 | { |
| 104 | // max_size depends on the address model |
| 105 | using min = std::integral_constant<std::size_t, |
| 106 | std::size_t(-1) - sizeof(table)>; |
| 107 | return min::value < BOOST_JSON_MAX_STRING_SIZE ? |
| 108 | min::value : BOOST_JSON_MAX_STRING_SIZE; |
| 109 | } |
| 110 | |
| 111 | BOOST_JSON_DECL |
| 112 | string_impl() noexcept; |