$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Mixing shared_ptr and regular pointers in containers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-11 18:24:12
AMDG
Remko Tronçon wrote:
> This feels like a stupid question, but is there an easy/clean way of
> mixing shared_ptr<A> and regular A* pointers in one STL container?
> Boost.Variant comes to mind, but I somehow have the idea that there's
> a more obvious way and that I'm missing it.
>
Can you use shared_ptr with a no-op deleter?
In Christ,
Steven Watanabe