Lines Matching refs:Result
191 Result Parse(const std::string& str) {
197 return Result::Failure("Failed to parse double from " + str);
200 return Result::OutOfRange(
204 return Result::Success(value);
219 Result ParseAndAppend(const std::string& args,
222 return Result::SuccessNoValue();
230 #### What is a `Result`?
231 `Result` is a typedef for `CmdlineParseResult<T>` and it acts similar to a poor version of
235 There are helpers like `Result::Success(value)`, `Result::Failure(string message)` and so on to
238 When successfully parsing a single value, `Result::Success(value)` should be used, and when
239 successfully parsing an appended value, use `Result::SuccessNoValue()` and write back the new value