$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Orhun Birsoy (orhunbirsoy_at_[hidden])
Date: 2008-07-29 18:09:57
Hi,
I have a function that is templated with a tuple. I would like to convert
the input tuple to a different tuple with the same size, and with related
but different types. I can have any number of items in the tuple, not just
two as given in the example.
ie
tuple<shared_ptr<Foo>, shared_ptr<Bar>> r = GetProperties<tuple<Foo,
Bar>>();
The template magic that will achive this currently eludes me. How can I do
this?
Thanks.
-- Orhun Birsoy