github eliaskosunen/scnlib v1.1.1
1.1.1

latest releases: v4.0.1, v4.0.0, v3.0.2...
4 years ago
  • Fix issue with values being skipped when using files and file.sync() (#56)
    • Every call to file.sync() needs to be accompanied by a call to reset_begin_iterator() to the result object
    • This is a temporary fix, permanent fix coming in v2.0.0
int i;
auto ret = scn::scan(scn::cstdin(), "{}", i);
scn::cstdin().sync();
ret.range().reset_begin_iterator();

// Not necessary with input and prompt
ret = scn::input("{}", i);

Don't miss a new scnlib release

NewReleases is sending notifications on new releases.