17 namespace uhd {
namespace cast {
44 std::istringstream is(in);
45 is >> std::setbase(0) >> x;
50 template <
typename data_t>
Definition: exception.hpp:131
T fromstr_cast(const std::string &in)
Definition: cast.hpp:41
T hexstr_cast(const std::string &in)
Convert a hexadecimal string into a value.
Definition: cast.hpp:24
Definition: build_info.hpp:12
#define UHD_API
Definition: config.h:87
UHD_API std::string to_ordinal_string(int val)
Create an ordinal string from a number.
data_t from_str(const std::string &)
Generic cast-from-string function.
Definition: cast.hpp:51