found = true;
}
if (not found || std::string(val) == "help") {
- std::string mesg = std::string("\n");
+ std::string mesg = "\n";
if (std::string(val) == "help")
mesg += std::string("Possible values for option ") + name + ":\n";
else
template<class U>
Flag& operator=(U const& that) { value_ = that; return *this; }
template<class U>
- Flag& operator=(U && that) { value_ = that; return *this; }
+ Flag& operator=(U&& that) { value_ = std::forward<U>(that); return *this; }
template<class U>
bool operator==(U const& that) const { return value_ == that; }
template<class U>