
16 Jul
2008
16 Jul
'08
8:33 p.m.
Hi, As eplained in http://www.codeproject.com/KB/cpp/dynamic_typing.aspx boost::any is not exactly optimal w.r.t. efficiency. Diggins implementation avoid allocation for objects smaller or equal to sizeof(void*). Personally I think this is too small a buffer; Boost.Function uses at least two words; I think it might be worth to go for 3 words. Would anyone be interested in implementing this? best regards -Thorsten