
13 Jun
2007
13 Jun
'07
1:52 p.m.
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?