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:

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

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,


Boost list run by bdawes at, gregod at, cpdaniel at, john at