diff options
author | Taylor C. Richberger <Taywee@gmx.com> | 2016-05-11 18:10:53 -0600 |
---|---|---|
committer | Taylor C. Richberger <Taywee@gmx.com> | 2016-05-11 18:10:53 -0600 |
commit | 1b9b9823d4619ef62783e25768b9460dcde55a74 (patch) | |
tree | 37c60846dfdc469cc591b82390aac8728bed9ccf /README.md | |
parent | bump version (diff) | |
download | args.hxx-1b9b9823d4619ef62783e25768b9460dcde55a74.tar.xz |
add mapping flag, throw maperror, ensure throwing works properly
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -492,7 +492,7 @@ Argument 'numbers' received invalid value type 'a' ```cpp #include <iostream> #include <tuple> -#include <args.hxx> + std::istream& operator>>(std::istream& is, std::tuple<int, int>& ints) { is >> std::get<0>(ints); @@ -501,6 +501,8 @@ std::istream& operator>>(std::istream& is, std::tuple<int, int>& ints) return is; } +#include <args.hxx> + void DoublesReader(const std::string &name, const std::string &value, std::tuple<double, double> &destination) { size_t commapos = 0; |