**fig3_42.txt** /* 1*/ template /* 2*/ inline void /* 3*/ Stack:: /* 4*/ Push( const Element_Type & X ) /* 5*/ { /* 6*/ Node *P = new Node( X, Stack_Top ); /* 7*/ if( P == NULL ) /* 8*/ Error( "Out of memory" ); /* 9*/ else /*10*/ Stack_Top = P; /*11*/ }