
20 Jul
2011
20 Jul
'11
12:49 p.m.
On Sun, May 22, 2011 at 7:18 PM, Steven Watanabe <watanabesj@gmail.com>wrote:
AMDG
Over the last few months I've re-done my type erasure library from scratch, fixing a lot of the bad design decisions I made originally. Here's a basic sample of what you can do with it:
simulate boost::any:
type_erasure::any< mpl::vector<copy_constructible<>, typeid_<> > > x(10);
simulate boost::function<void(int)>:
type_erasure::any< mpl::vector<copy_constructible<>, typeid_<>, callable<void(int)> > > f(foo);
The code is available from the Vault: http://tinyurl.com/3z9jcwp
Hi Steven, The link is broken. I want to test your library, is there somewhere else where I can download it? Regards, Fernando.