
15 May
2008
15 May
'08
8:42 p.m.
Dear All, currently I get a compiler error if I try to pass a string literal to a boost::any. I guess the same happens if you pass an array. I think some template constructor could take care of this: template<size_t SIZE, class T> any(T _a[SIZE]) { // treat _a like it is T* } Thanks Peter