0022815: Missing delete operator for placement new
[occt.git] / src / NCollection / NCollection_DefineStack.hxx
1 // File:         NCollection_DefineStack.hxx
2 // Created:      17.04.02 10:12:48
3 //               <a-kartomin@opencascade.com>
4 // Author:       Alexander Kartomin (akm)
5 //            Automatically created from NCollection_Stack.hxx by GAWK
6 // Copyright:    Open Cascade 2002
7 //
8 // Purpose:      A stack is a structure where item can be added and
9 //               removed from the top. Like a stack of plates  in a
10 //               kitchen. The   last entered item  will be   be the
11 //               first  removed. This  is  called  a  LIFO (last In First Out).
12 //               Inherits BaseList, adding the data item to each node.
13 //               
14
15
16 #ifndef NCollection_DefineStack_HeaderFile
17 #define NCollection_DefineStack_HeaderFile
18
19 #include <NCollection_DefineBaseCollection.hxx>
20 #include <NCollection_Stack.hxx>
21
22 // **************************************** Template for  Stack  class ********
23
24 #define DEFINE_STACK(_ClassName_, _BaseCollection_, TheItemType)               \
25         typedef NCollection_Stack<TheItemType > _ClassName_;
26
27 #endif