USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-gaea0e2de
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 #ifndef INCLUDED_UHD_UTILS_ASSERT_HAS_HPP
9 #define INCLUDED_UHD_UTILS_ASSERT_HAS_HPP
10 
11 #include <uhd/config.hpp>
12 #include <string>
13 
14 namespace uhd {
15 
27 template <typename T, typename Range>
28 void assert_has(const Range& range, const T& value, const std::string& what = "unknown");
29 
30 } // namespace uhd
31 
32 #include <uhd/utils/assert_has.ipp>
33 
34 #endif /* INCLUDED_UHD_UTILS_ASSERT_HAS_HPP */
Definition: build_info.hpp:13
void assert_has(const Range &range, const T &value, const std::string &what="unknown")
Definition: assert_has.ipp:19