diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-18 07:31:16 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-18 07:43:20 -0500 |
commit | b12c3b203773649e61f61344829924ab7ad43110 (patch) | |
tree | d3b425d01f2239ec73cc8378e51d323ec111ac08 /host/cmake/debian/copyright | |
parent | 5fb585c328a45b022744e884ec9d52808a9354cb (diff) | |
download | uhd-b12c3b203773649e61f61344829924ab7ad43110.tar.gz uhd-b12c3b203773649e61f61344829924ab7ad43110.tar.bz2 uhd-b12c3b203773649e61f61344829924ab7ad43110.zip |
utils: Add bool specialization to cast::from_str()
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).
Diffstat (limited to 'host/cmake/debian/copyright')
0 files changed, 0 insertions, 0 deletions