From 0ec0c7dd6a75f708bf252f1f41b9d7f1da2cbcb0 Mon Sep 17 00:00:00 2001 From: ado Date: Fri, 1 Jan 2021 18:43:26 +0100 Subject: [PATCH] update documentation --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 5fe8b7d..edacc54 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,13 @@ of only 2 parameters would be retuned: // returns std::tuple auto [name, grade] = p.get_next(); ``` +Works with different types of conversions too: +```cpp +using student = std::tuple; + +// returns std::tuple +auto [name, grade] = p.get_next(); +``` To ignore a whole row, **ignore_next** could be used, returns **false** if **eof**: ```cpp bool parser::ignore_next();