Revision 15268898 host/include/uhd/utils/assert_has.ipp
| b/host/include/uhd/utils/assert_has.ipp | ||
|---|---|---|
| 31 | 31 |
const T &value, |
| 32 | 32 |
const std::string &what |
| 33 | 33 |
){
|
| 34 |
if (std::has(range, value)) return;
|
|
| 34 |
if (uhd::has(range, value)) return;
|
|
| 35 | 35 |
std::string possible_values = ""; |
| 36 | 36 |
size_t i = 0; |
| 37 | 37 |
BOOST_FOREACH(const T &v, range){
|
Also available in: Unified diff