USRP Hardware Driver and USRP Manual
Version: 3.11.0.HEAD-0-ga1b5c4ae
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>
void
assert_has
(
28
const
Range &range,
29
const
T &value,
30
const
std::string &what =
"unknown"
31
);
32
33
}
//namespace uhd
34
35
#include <
uhd/utils/assert_has.ipp
>
36
37
#endif
/* INCLUDED_UHD_UTILS_ASSERT_HAS_HPP */
config.hpp
uhd
Definition:
build_info.hpp:14
assert_has.ipp
uhd::assert_has
void assert_has(const Range &range, const T &value, const std::string &what="unknown")
Definition:
assert_has.ipp:19
include
uhd
utils
assert_has.hpp
Generated by
1.8.13