
2013/1/31 Krzysztof Czainski <1czajnik@gmail.com>:
2013/1/17 Andrew Hundt <athundt@gmail.com>
Hello, Thanks for working on static_vector, I'm already using it.
Everything works, with a little fix I needed. Here's the problem (disclamer: tested with a more complicated example, not the one below):
static_vector<int,3> v; v.emplace_back(); // compile time error
My fix is adding an overload for static_vector_detail::construct, patch attached.
Ok, thanks. It's fixed now. Furthermore I'd like to share some news. We've decided to slightly change the character of this container and highlight it's connection with array. Therefore we changed it's name to varray (variable-size array). The implementation with "Strategy" template parameter was moved to container_detail namespace. Exposed class takes 2 template parameters, exactly like boost::array does. boost::container::varray<T, N> va; It may be found here: http://svn.boost.org/svn/boost/sandbox/varray/ Regards, Adam