×

Type-safe homogeneous linkage for heterogeneous smart pointers

  • US 20020169786A1
  • Filed: 02/19/2002
  • Published: 11/14/2002
  • Est. Priority Date: 02/16/2001
  • Status: Abandoned Application
First Claim
Patent Images

1. A computer-implemented method for performing memory management of an object in an object-oriented programming environment using smart pointers, comprising the steps of:

  • providing a base class common to all types of smart pointers;

    providing at least one smart pointer comprising an object pointer for pointing to an object, the smart pointer having a next link for pointing to a subsequent smart pointer on a ring and a previous link for pointing to a previous smart pointer on the ring; and

    providing a function for automatically converting a smart pointer to an object of a first class to a smart pointer to an object of a second class, wherein the first class and the second class share the common base class.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×