
9 Jul
2008
9 Jul
'08
5:25 p.m.
I don't know, but it makes sense to me: an array is not just a pointer! boost::any always stores a /copy/ of its constructor argument or assignment argument. So /if/ it would support built-in arrays, I think it should copy their elements internally.
A C++ programmer expects that a pointer is being passed everywhere where he is passing an array argument.