id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3168,"Request for boost::array::fill(const T&), following C++0x",niels_dekker,Marshall Clow,"According to the latest C++0x Working Draft, [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2857.pdf N2857], std::array will have a member function named ''fill''. Quoting 23.3.1.5 array::fill [array.fill]: {{{ requires CopyAssignable void fill(const T& u); 1 Effects: fill_n(begin(), N, u) }}} Even while using a compiler that does not support C++0x concepts, I think it's desirable to have this function added to boost::array already. E.g., as follows: {{{ void fill(const T& value) { std::fill_n(elems, N, value); } }}} Of course, it is effectively the same as boost::array::assign. Maybe boost::array::assign should become deprecated.",Feature Requests,closed,Boost 1.40.0,array,Boost 1.39.0,Problem,fixed,,niels_dekker