Boost logo

Boost :

Subject: [boost] [paired ptr] Proposing a new smart pointer object for managing bidirectional relationships between objects
From: Dan Walters (dan683_at_[hidden])
Date: 2010-05-02 06:28:31


Dear all,

I have been working on a proposal for a useful utility for managing
non hierarchal, bi-directional relationships between objects and as a
useful tool in object composition.

This utility is in the form of a type of templated smart pointer that
can connect to one single other pointer and manage the relationship
between the two pointers.

This paired_ptr object is intended for use as a member of (or at least
contained within) a user defined object and is conceptualized from the
needs of object composition.

Prototype source code, a usage example and brief documentation is
available here:

http://www.boostpro.com/vault/index.php?action=downloadfile&filename=paired_ptr.zip&directory=&

Doumentation only is available here: (this is a google doc and is
continually being updated)

http://docs.google.com/View?id=dc33pnfx_442s22z7d6

I am posting here in the hope it will generate suitable interest that
it may be worth developing as a full library for submission.

Best wishes,

Dan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk