
12 Feb
2009
12 Feb
'09
3:35 p.m.
Is your solution constant-time?
No. It cannot dispatch constant-time with boost::any. So I make "Holder" class to dispatch constant-time. Holder is similar to boost::any, but it have "id" method that can return unique integer from each content type. And Multimethod can dispatch method in constant-time using this "id" integer. Regards. Nowake