USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
noncopyable.hpp
Go to the documentation of this file.
1//
2// Copyright 2019 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8
9#ifdef UHD_AVOID_BOOST
10
11namespace uhd {
12
29class noncopyable
30{
31public:
32 noncopyable() = default;
33 ~noncopyable() = default;
34
35 noncopyable(const noncopyable&) = delete;
36 noncopyable& operator=(const noncopyable&) = delete;
37};
38
39} /* namespace uhd */
40
41#else
42
43# include <boost/core/noncopyable.hpp>
44namespace uhd {
46}
47
48#endif
Definition: build_info.hpp:12
boost::noncopyable noncopyable
Definition: noncopyable.hpp:45