USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
 
Loading...
Searching...
No Matches
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
14namespace uhd {
15
27template <typename T, typename Range>
28void assert_has(const Range& range, const T& value, const std::string& what = "unknown");
29
30} // namespace uhd
31
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