Loading...
Searching...
No Matches
noncopyable.hpp
Go to the documentation of this file.
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#ifdef UHD_AVOID_BOOST
namespace uhd {
class noncopyable
{
public:
noncopyable() = default;
~noncopyable() = default;
noncopyable(const noncopyable&) = delete;
noncopyable& operator=(const noncopyable&) = delete;
};
} /* namespace uhd */
#else
# include <boost/core/noncopyable.hpp>
namespace uhd {
typedef boost::noncopyable noncopyable;
}
#endif
uhd
Definition build_info.hpp:12
uhd::noncopyable
boost::noncopyable noncopyable
Definition noncopyable.hpp:45