$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-06-13 09:52:00
Daveus, Fredrik a écrit :
> I want to pass the result of a map_list_of call as an argument to a
> class ctor, but the
> only way I've managed to do this is by using some stuff from the
> assign_detail namespace.
>
> Is there any other (more elegant) way of achieving this?
template<typename T>
A(const T& t) : m_map(t)
{
}
maybe?