1.1.3
Expected to be the last release in the v1-branch.
Development efforts are now fully directed towards v2.
Features
- Allow disabling support for individual types with
SCN_DISABLE_TYPE_*
(#70, thanks @cjvaughter (CJ Vaughter))- Also, allow for disabling the fallbacks to
std::from_chars
andstd::strtod
when scanning floats - This provides possible binary size reductions, and allows better use in e.g. embedded platforms
- Also, allow for disabling the fallbacks to
- Allow disabling runtime localization with
SCN_DISABLE_LOCALE
(#71, thanks @cjvaughter (CJ Vaughter)) - Parse leading
+
signs in floats (reported in #77)
Fixes
- Fix
scn::wrap(std::string_view&&)
being ambiguous on gcc (reported in #83) - Fix compiler error in
scn::basic_string_view<CharT>::substr
(reported in #86) - Fix memory safety issues found with ASan and UBsan in
small_vector
,detail::utf16::validate_next
, anddetail::get_buffer
. - Add
COMPONENT
to CMake install targets (#80, thanks @pawelwod) - Fix calculation of
SCN_MSVC
from_MSC_FULL_VER
(#62, thanks @matbech (Mathias Berchtold)) - Fix MSVC
C4146
warning ininteger_scanner
(#64, thanks @matbech (Mathias Berchtold)) - Use
if constexpr
andstd::unreachable
if available (#61, #78, thanks @matbech (Mathias Berchtold)) - Improve error messages given from the float parser