diff -Naur a/boost/lexical_cast/detail/converter_lexical.hpp b/boost/lexical_cast/detail/converter_lexical.hpp
a
|
b
|
|
364 | 364 | #endif |
365 | 365 | }; |
366 | 366 | |
367 | | #ifndef BOOST_LCAST_NO_COMPILE_TIME_PRECISION |
368 | 367 | // Helper for floating point types. |
369 | 368 | // -1.23456789e-123456 |
370 | 369 | // ^ sign |
… |
… |
|
380 | 379 | Source, BOOST_DEDUCED_TYPENAME boost::enable_if<boost::is_float<Source> >::type |
381 | 380 | > |
382 | 381 | { |
| 382 | #ifndef BOOST_LCAST_NO_COMPILE_TIME_PRECISION |
383 | 383 | BOOST_STATIC_ASSERT( |
384 | 384 | std::numeric_limits<Source>::max_exponent10 <= 999999L && |
385 | 385 | std::numeric_limits<Source>::min_exponent10 >= -999999L |
… |
… |
|
388 | 388 | BOOST_STATIC_CONSTANT(std::size_t, value = |
389 | 389 | 5 + lcast_precision<Source>::value + 6 |
390 | 390 | ); |
391 | | }; |
| 391 | #else |
| 392 | BOOST_STATIC_CONSTANT(std::size_t, value = 156); |
392 | 393 | #endif // #ifndef BOOST_LCAST_NO_COMPILE_TIME_PRECISION |
| 394 | }; |
393 | 395 | } |
394 | 396 | |
395 | 397 | namespace detail // lexical_cast_stream_traits<Source, Target> |