USRP Hardware Driver and USRP Manual
Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
assert_has.hpp
Go to the documentation of this file.
1
//
2
// Copyright 2010-2011 Ettus Research LLC
3
//
4
// SPDX-License-Identifier: GPL-3.0
5
//
6
7
#ifndef INCLUDED_UHD_UTILS_ASSERT_HAS_HPP
8
#define INCLUDED_UHD_UTILS_ASSERT_HAS_HPP
9
10
#include <
uhd/config.hpp
>
11
#include <string>
12
13
namespace
uhd
{
14
26
template
<
typename
T,
typename
Range>
void
assert_has
(
27
const
Range &range,
28
const
T &value,
29
const
std::string &what =
"unknown"
30
);
31
32
}
//namespace uhd
33
34
#include <
uhd/utils/assert_has.ipp
>
35
36
#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:18
include
uhd
utils
assert_has.hpp
Generated by
1.8.13