**fig6_29.txt** /* 1*/ template /* 2*/ void /* 3*/ Left_Heap:: /* 4*/ Insert( const Etype & X ) /* 5*/ { /* 6*/ Left_Node *P; /* 7*/ P = new Left_Node ( X ); /* 8*/ if( P == NULL ) /* 9*/ Error( "Out of space!!" ); /*10*/ Root = Merge( P, Root ); /*11*/ } /*12*/ template /*13*/ void /*14*/ Left_Heap:: /*15*/ Merge( Left_Heap & Value ) /*16*/ { /*17*/ Root = Merge( Root, Value.Root ); /*18*/ Value.Root = NULL; /*19*/ }