Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | utils: Add bool specialization to cast::from_str() | Aaron Rossetto | 2020-03-18 | 1 | -0/+25 |
| | | | | | | | This adds a specialization to `uhd::cast::from_str()` to handle `bool` as a target type and interpret strings like 'y', 'Y', 'n', 'No', 'True', 'False', etc. as Boolean values, as well as the traditional '0' and '1' (which also work). | ||||
* | utils: cast: Add from_str() typecast | Martin Braun | 2019-11-26 | 1 | -0/+39 |
This is the inverse to std::to_string(), and we can overload it with UHD-internal types. |