USRP Hardware Driver and USRP Manual  Version: 4.6.0.0-7-gece7c4811
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>
Definition: build_info.hpp:12
void assert_has(const Range &range, const T &value, const std::string &what="unknown")
Definition: assert_has.ipp:18