Phil Nash
Phil Nash
@hiiwave does this conclude this issue for you?
This need is one of the key drivers for Catch2 rebasing on C++11. Once Catch2 is fully released this will be one of the first major tasks - it's been...
Exactly! Before Catch2, and thus C++11, we didn't _have_ `std::thread`
The trouble is that, after a `-` multi-character arguments are treated as a series of single character options. E.g. `-abc` is the equivalent of passing `-a -b -c`. So `-j8`...
@hassanfarid if you bind to an optional variable (`std::optional`, `boost::optional`, or similar) then you can use the optionality to check if it was set or not
@joede I'm afraid I'm not quite following. What do you mean by a "usable" default value? And when you say, "still has to be set after calling `cli.parse()`, do you...
Sorry, it sounds obvious, now that that's what you meant :-) So you want to be able to specify a ("usable") default value in case it's not set on the...
WRT your *update* (which crossed with my last reply) - if I understand you correctly, you _can_ "pass lambda's instead of variables to Opt()". e.g.: https://github.com/catchorg/Clara/blob/master/src/ClaraTests.cpp#L166
That is correct (here's the code that deduces it): https://github.com/catchorg/Clara/blob/master/single_include/clara.hpp#L377 I appreciate this area of Clara is not really documented yet.
Sounds like a useful tweak - yes please :-)