USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
assert_has.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2011 Ettus Research LLC
3 // Copyright 2018 Ettus Research, a National Instruments Company
4 //
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 
8 #pragma once
9 
10 #include <uhd/config.hpp>
11 #include <string>
12 
13 namespace uhd {
14 
26 template <typename T, typename Range>
27 void assert_has(const Range& range, const T& value, const std::string& what = "unknown");
28 
29 } // namespace uhd
30 
31 #include <uhd/utils/assert_has.ipp>
config.hpp
uhd::assert_has
void assert_has(const Range &range, const T &value, const std::string &what="unknown")
Definition: assert_has.ipp:17
uhd
Definition: build_info.hpp:12
assert_has.ipp