1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
6 * @brief header file for no_copy class
11 namespace InferenceEngine {
14 * @brief This class is used for objects returned from the shared library factory to prevent copying
19 * @brief A default constructor
24 * @brief A default destructor
26 virtual ~no_copy() = default;
29 * @brief A removed copy constructor
31 no_copy(no_copy const &) = delete;
34 * @brief A removed assign operator
36 no_copy &operator=(no_copy const &) = delete;
39 * @brief A removed move constructor
41 no_copy(no_copy &&) = delete;
44 * @brief A removed move operator
46 no_copy &operator=(no_copy &&) = delete;
48 } // namespace details
49 } // namespace InferenceEngine