USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
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 
11 namespace uhd {
12 
29 class noncopyable
30 {
31 public:
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>
44 namespace uhd {
46 }
47 
48 #endif
uhd
Definition: build_info.hpp:12
uhd::noncopyable
boost::noncopyable noncopyable
Definition: noncopyable.hpp:45