$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-10-22 17:11:19
"David Abrahams" <dave_at_[hidden]> wrote in message
news:uu1jejknx.fsf_at_boost-consulting.com...
>I don't know how well that works. You need to know that T implements
the appropriate constructor, which AFAICT isn't possible for a generic
function.<
It's possible by using the inheritance detector (assuming the class uses the
mojo infrastructure). This is central to defining smart containers that work
with mojoed and unmojoed types.
Andrei