id summary reporter owner description type status milestone component version severity resolution keywords cc 6889 Initialise multi_array with a given value Andrew Morris Ronald Garcia "The multi-array only allows users to initialise all elements to a default constructed T(). That may not be desirable if you would like a different value, either for performance reasons or because the type does not support default initialisation. For example: {{{ #include #include struct no_default { explicit no_default(int i) {} }; int main() { std::vector v(10, no_default(3)); boost::multi_array m(boost::extents[10][10][10]); // won't compile } }}} Offering constructors that accept a value to be used to initialise the elements would be the easiest fix. This would also align with std::vector usage." Feature Requests new To Be Determined multi_array Boost 1.49.0 Problem