Boost logo

Boost Users :

From: peter_foelsche_at_[hidden]
Date: 2008-05-15 16:42:41


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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net