1 /*========================== begin_copyright_notice ============================
2 
3 Copyright (C) 2019-2021 Intel Corporation
4 
5 SPDX-License-Identifier: MIT
6 
7 ============================= end_copyright_notice ===========================*/
8 
9 #pragma once
10 
11 
12 /*****************************************************************************\
13 
14 MACRO:
15     ISTD_DISALLOW_COPY_AND_ASSIGN
16 
17 Description:
18     A macro to disallow the copy constructor and operator= functions
19     This should be used in the private: declarations for a class
20 
21 \*****************************************************************************/
22 #define ISTD_DISALLOW_COPY_AND_ASSIGN( TypeName ) \
23     TypeName(const TypeName&); \
24     TypeName& operator=(const TypeName&)
25