
3 Dec
2009
3 Dec
'09
9:05 p.m.
David Genest wrote: ...
My question to the list is: did anyone have a try at an implementation and could share it ? I have toyed with boost::function and sp_typeinfo.hpp and tried to replace occurrences of type_info in function_base.hpp, but I don't have enough understanding to finish the work and my early attempts have failed. As my current understanding goes, the function type could be generated with the sp_typeinfo trick. Is the sp_typeinfo.hpp route a viable one ?
sp_typeinfo.hpp wasn't quite up to the task, but I fixed it, and changed function_base.hpp to use it. The relevant patches are: https://svn.boost.org/trac/boost/changeset/58127 https://svn.boost.org/trac/boost/changeset/58128