发明名称 TYPE-SAFE HOMOGENEOUS LINKAGE FOR HETEROGENEOUS SMART POINTERS
摘要 <p>A non-intrusive smart pointer (10) for providing memory management and type-safe homogeneous linkage for heterogeneous smart pointers is provided. A linked list of smart pointers is provided to represent a reference count of an object (30) pointed to by the smart pointers. A base common to all smart pointers is provided to permit pointers to different sub-objects of the same object to be members of a single ring (100). A class template for generating a different class of smart pointer for each class of object for which a smart pointer is used is provided. The class template provides member functions to generate smart pointer classes specific to the respective classes of objects controlled by the smart pointers to maintain type safety. In addition, member function templates of the class function are provided, to enable automatic conversion between smart pointers of different classes within the same class hierarchy.</p>
申请公布号 WO2002067124(A1) 申请公布日期 2002.08.29
申请号 US2002004968 申请日期 2002.02.19
申请人 发明人
分类号 主分类号
代理机构 代理人
主权项
地址