ie_no_release.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief Utility header file. Provides no release base class
7  *
8  * @file ie_no_release.hpp
9  */
10 #pragma once
11 
12 namespace InferenceEngine {
13 namespace details {
14 
15 /**
16  * @brief prevent Release method from being called on specific objects
17  */
18 template <class T>
19 class NoReleaseOn : public T {
20 private:
21  void Release() noexcept = 0;
22 };
23 
24 } // namespace details
25 } // namespace InferenceEngine
Inference Engine API.
Definition: ie_argmax_layer.hpp:15