Jared Grubb

Results 67 comments of Jared Grubb

Moving this to C++03 would probably require a dependency on boost (eg, would need to use boost::variant/boost::any for the "value" type, and would need to port to use boost-regex instead...

C++03 without Boost would be difficult. You would have no regex library to use, and that would require quite a bit of rewrite. Supporting gcc4.8 would require Boost and working...

This style is intentional. There is another warning (`-Wswitch`) that warns if you forget to handle any enum case, but it gets disabled if you add a default (because that's...

There havent been too many changes since then, but happy to re-tag and update if that's helpful!

Zero warnings is a great goal to have, and I think we should address these.

Although I think there's merit to this request, adding this test-case causes the Python version of docopt to fail. One of the missions is to maintain feature parity across the...

Note that you'll get long values for repeated options, not for options that take numbers. It's not really possible to specify that an option takes a number, just that it...

Yes, I can see the inconsistency. To me, it feels a little odd that "isLong" could have to do string parsing to give an answer, but I'm not sure I...

Yeh, I'm not 100% happy with the 'value' class. I like your idea about the forms with default values. I think that makes a lot of sense. And "isEmpty" is...

> hash This is useful so the `value` can be put inside of hash-map. I remember wanting that for some reason, but don't know now :) I like the idea...