Major overhaul, both internally and in terms of the library interface. The library is rewritten in its entirety. See the documentation (note the new URL: https://v2.scnlib.dev), namely the Migration guide for more details.
This is a beta pre-release. There may still be some bugs. Changes before v2.0.0 proper are possible, but aren't probably going to be major.
Major changes include:
- C++17 is required.
- Several names are changed to include the
scan_prefix. scn::scanreturns the scanned values by value. Output parameters are no longer used.scn::scannow accepts allforward_ranges (v1:bidirectional_range+ default- and move constructible).scn::scanreturns a view (subrange) into its input, and never takes ownership.- Scope is more focused: list operations,
ignore,getline, andfilehave been removed. - Performance improvements
- Completely reworked internals