	 k 00by name         by name         BUILD           d   	kH      A                                                ./               A          A          
k% 9p m             000
        yw         ./lpp_name               m          m          4 R S xlC.C++ {
xlC.C++.collect.lib 3.1.2.1 01 N U en_US C Set ++ Collection Class Library
[
*prereq xlC.C++.collect.lib 3.1.2.0
%
/usr/lpp/xlC/include 16
/usr/lpp/SAVESPACE 16
/usr/lib/objrepos 8
INSTWORK 56 16
%
%
%
IX51908  4 ICE at opt.
%
]
}
 	k\      A                                                ./usr            A          A          
k{      A                                                ./usr/lpp                A          A          kꨝ      A                                                ./usr/lpp/xlC.C++/xlC.C++.collect.lib/3.1.2.1            A          A          k4s 1p m            000
        rw        ./usr/lpp/xlC.C++/xlC.C++.collect.lib/3.1.2.1/liblpp.a           m          m          <aiaff>
1722        0           68          1382        0           402         590         0           798911721   1592        400         644         29  xlC.C++.collect.lib.copyright `
 Licensed Materials - Property of IBM

 576542100
   (C) Copyright International Business Machines Corp. 1990, 1995.
   (C) Copyright AT&T 1984, 1985, 1986, 1987, 1988, 1989.
   (C) Copyright Unix System Labs, Inc., a subsidiary of Novell, Inc. 1993.

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
19          710         68          798911708   1592        400         644         9   productid `
xlC.C++ 5765-42100
 229         1060        590         806858665   1592        400         644         29  xlC.C++.collect.lib.inventory `
/usr/lpp/xlC/include/iptr.h:
          owner = bin
          group = bin
          mode = 444
          type = FILE
          class = apply,inventory,xlC.C++.collect.lib
          size = 6204
          checksum = "58413     7 "

 66          1240        710         806858665   1592        400         644         24  xlC.C++.collect.lib.size`
/usr/lpp/xlC/include 16
/usr/lpp/SAVESPACE 16
/usr/lib/objrepos 8
29          1382        1060        806858665   1592        400         644         22  xlC.C++.collect.lib.al`
./usr/lpp/xlC/include/iptr.h
 221         1722        1240        806858665   1592        400         644         27  xlC.C++.collect.lib.fixdata `
fix:
	name = IX51908
	abstract = ICE at opt.
	type = f
	filesets = "xlC.C:3.1.2.3\n\
xlC.C++.cmp:3.1.2.3\n\
xlC.C++.collect.lib:3.1.2.1\n\
xlC.C++.heapview:3.1.2.3\n\
"
	symptom = " gr403 used before it is defined.\n\
"

 230         0           1382        0           0           0           0           0   `
6           68          590         710         1060        1240        1382        xlC.C++.collect.lib.copyright productid xlC.C++.collect.lib.inventory xlC.C++.collect.lib.size xlC.C++.collect.lib.al xlC.C++.collect.lib.fixdata       k*  $        <  0.
00
           <      ./usr/lpp/xlC/include/iptr.h             $          $          /***********************************************************************
*                                                                      *
* COPYRIGHT:                                                           *
*   IBM C++ Collection Class Library - ICLCC Version 4.3               *
*   Licensed Materials - Property of IBM                               *
*   (C) Copyright IBM Corporation 1992, 1993, 1994                     *
*   All Rights Reserved                                                *
*   US Government Users Restricted Rights - Use, duplication, or       *
*   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  *
*                                                                      *
***********************************************************************/
#ifndef _IPTR_H
#define _IPTR_H

#include <iglobals.h>
#include <istdops.h>
#include <iinit.h>
#include <icompat.h>


#ifdef ICLCC_COMPAT_PTR
#define IPtr IElemPointer
#define IMgPtr IMngElemPointer
#endif

template < class Element >
class IElemPointer {
public:

           IElemPointer (Element* ptr, IExplicitInit = IINIT)
           : ivPtr (ptr)
           {
           }

           IElemPointer ()
           : ivPtr (0)
           {
           }

  Element& operator * () const
           { return *ivPtr;
           }

  Element* operator-> () const
           { return ivPtr;
           }

           operator Element* () const
           { return ivPtr;
           }

  friend inline
  Element& elementForOps (IElemPointer < Element >& ptr)
           { return *ptr.ivPtr;
           }

  friend inline
  Element const&
           elementForOps (IElemPointer < Element > const& ptr)
           { return *ptr.ivPtr;
           }

protected:

  Element *ivPtr;

};


template < class Element >
class IMngPointer {

  struct PtrRc;

public:

           IMngPointer (Element *ptr, IExplicitInit)
           : ivPtrRc (new PtrRc (ptr))
           {
           }

           IMngPointer ()
           : ivPtrRc (0)
           {
           }

           IMngPointer (IMngPointer < Element > const& ptr)
           { ivPtrRc = ptr.ivPtrRc;
             if (ivPtrRc != 0) ivPtrRc->ivRc++;
           }

          ~IMngPointer ()
           { if (ivPtrRc != 0 && --ivPtrRc->ivRc == 0) delete ivPtrRc;
           }

  IMngPointer < Element >&
           operator= (IMngPointer < Element > const& ptr)
           { if (ivPtrRc != ptr.ivPtrRc) {
               if (ivPtrRc && --ivPtrRc->ivRc == 0) delete ivPtrRc;
               ivPtrRc = ptr.ivPtrRc;
               if (ivPtrRc != 0) ivPtrRc->ivRc++;
             }
             return *this;
           }

  Element& operator * () const
           { return *ivPtrRc->ivPtr;
           }

  Element* operator-> () const
           { return ivPtrRc->ivPtr;
           }

           operator Element* () const
           { if (ivPtrRc == 0) return 0;
             else return ivPtrRc->ivPtr;
           }

protected:

  struct PtrRc
  { Element *ivPtr;

    unsigned int ivRc;

             PtrRc (Element *ptr)
             : ivPtr (ptr), ivRc (1)
             {
             }

            ~PtrRc ()
             { delete ivPtr; }
  } *ivPtrRc;

};


template < class Element >
class IMngElemPointer : private IMngPointer < Element > {
public:

           IMngElemPointer (Element *ptr, IExplicitInit)
           : IMngPointer < Element > (ptr, IINIT)
           {
           }

           IMngElemPointer ()
           {
           }

  Element& operator * () const
           { return IMngPointer < Element >::operator*();
           }

  Element* operator-> () const
           { return IMngPointer < Element >::operator->();
           }

           operator Element* () const
           { return (IMngPointer < Element > const&)*this;
           }

  friend inline
  Element& elementForOps (IMngElemPointer < Element >& ptr)
           { return *(Element*)ptr;
           }

  friend inline
  Element const&
           elementForOps (IMngElemPointer < Element > const& ptr)
           { return *(Element*)ptr;
           }

#ifdef ICLCC_COMPAT_PTR
           IMngElemPointer (Element const& e)
           : IMngPointer < Element > (new Element (e), IINIT)
           {
           }

           IMngElemPointer (Element *ptr)
           : IMngPointer < Element > (ptr, IINIT)
           {
           }
#endif

};


template < class Element >
class IAutoPointer {
public:

           IAutoPointer (Element *ptr, IExplicitInit)
           : ivPtr (ptr)
           {
           }

           IAutoPointer ()
           : ivPtr (0)
           {
           }

           IAutoPointer (IAutoPointer < Element > const& ptr)
           { ivPtr = ptr.ivPtr;
             ((IAutoPointer < Element >&) ptr).ivPtr = 0;
           }

          ~IAutoPointer ()
           { delete ivPtr;
           }

  void     operator = (IAutoPointer < Element > const& ptr)
           { delete ivPtr;
             ivPtr = ptr.ivPtr;
             ((IAutoPointer < Element >&) ptr).ivPtr = 0;
           }

           operator Element* () const
           { return ivPtr;
           }

  Element& operator * () const
           { return *ivPtr;
           }

  Element* operator-> () const
           { return ivPtr;
           }

protected:

  Element* ivPtr;

};


template < class Element >
class IAutoElemPointer : private IAutoPointer < Element > {
public:

           IAutoElemPointer (Element *ptr, IExplicitInit)
           : IAutoPointer < Element > (ptr, IINIT)
           {
           }

           IAutoElemPointer ()
           {
           }

  Element& operator * () const
           { return IAutoPointer < Element >::operator*();
           }

  Element* operator-> () const
           { return IAutoPointer < Element >::operator->();
           }

           operator Element* () const
           { return IAutoPointer < Element >::operator Element*();
           }

  friend inline
  Element& elementForOps (IAutoElemPointer < Element >& ptr)
           { return *(Element*)ptr;
           }

  friend inline
  Element const&
           elementForOps (IAutoElemPointer < Element > const& ptr)
           { return *(Element*)ptr;
           }

};



#endif
)
  kIM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        