scnlib icon indicating copy to clipboard operation
scnlib copied to clipboard

Explore scanning at compile-time

Open eliaskosunen opened this issue 6 years ago • 0 comments

Perhaps CTRE-esque

int i;
scn::scan<"{}">(stream, i);

Or do we only limit ourselves to compile-time format string checking (fmt-esque):

int i;
scn::scan(stream, SCN_STRING("{}"), i);

eliaskosunen avatar May 18 '19 02:05 eliaskosunen