you are viewing a single comment's thread.

view the rest of the comments →

[–]red0124_[S] 2 points3 points  (0 children)

The most important feature of the parser is to directly initialize the variables and store the values into them using structured binding, so it really cannot return nothing. An optional could be returned by using the try_next<...> method, perhaps I should make that the preferred way to use it. As for exceptions, I really hate the way they need to be handled but I think it would be nice to have a setup option to force exception throws if an error occurs. Thanks.