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