Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / include / details / ie_no_release.hpp
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