qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject C++: Pimpl API
Date Mon, 05 Mar 2007 20:47:14 GMT
On Mon, 2007-03-05 at 19:46 +0000, Gordon Sim wrote:
> Alan Conway wrote:
> > #A _ BDBStore working with 0-9 trunk.
> 
> I'll take this one as I will be doing some work on the BdbStore to 
> finish off distributed transactions anyway.
> 
> > #B _ Pimpl API for broker/messagestore
> 
> I'll have a go at this as well along with the general cleanup of the 
> message store api and then request further comments from you both.

Excellent.

Attached is a sketch of the Pimpl idiom using shared_ptr, including the
inheritance case. Does it look sensible? Can we make it simpler with
templates (I can't figure out how.) Once we're agreed we can go ahead
with the API cleanup.

Cheers,
Alan.

Mime
View raw message