|
Boost : |
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?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk