August 2017
Intermediate to advanced
438 pages
14h 19m
English
boost::array is a fixed-size array. The first template parameter of boost::array is the element type and the second one is the size of an array. If you need to change the array size at runtime, use std::vector , boost::container::small_vector, boost::container::stack_vector, or boost::container::vector instead.
The boost::array<> class has no handwritten constructors and all its members are public, so the compiler will treat it as a POD type.
Read now
Unlock full access