
15 Oct
2007
15 Oct
'07
7:45 p.m.
on Fri Oct 12 2007, Michael Marcin
David Abrahams wrote:
on Thu Oct 11 2007, Michael Marcin
wrote: Okay I think I've got a solution but I it is a bit ugly. Is there a cleaner solution?
Looks OK to me. What do you find ugly about it?
Thanks for looking.
I guess the only concrete thing I can point to is having to declare my own
template< typename T > struct wrap { };
since this seems like its probably pretty common I figured there might be one in mpl somewhere.
You can use mpl::identity for this. There's also boost/type.hpp -- Dave Abrahams Boost Consulting http://www.boost-consulting.com