Function domain_bridge::detail::parse_size_t_arg

Function Documentation

inline std::optional<size_t> domain_bridge::detail::parse_size_t_arg(const std::string &arg, const char *error_str)

Parse argument string and return as a size_t.

Parameters
  • arg – argument string

  • error_str – argument name to output if parsing fails

Returns

size_t value