USRP Hardware Driver and USRP Manual: assert_has.hpp Source File

| USRP Hardware Driver and USRP Manual Version: 4.8.0.makepkg-0-g308126a4 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#pragma once
9
10#include <uhd/config.hpp>
11#include <string>
12
13namespace uhd {
14
26template <typename T, typename Range>
27void 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>
assert_has.ipp
config.hpp
uhd
Definition build_info.hpp:12
uhd::assert_has
void assert_has(const Range &range, const T &value, const std::string &what="unknown")
Definition assert_has.ipp:18