This question already has answers here: Closed 11 years ago. Possible Duplicate: Are std::vector elements guaranteed to be contiguous?
Is the memory in std::array contiguous? Is the following valid/good practice? std::array<type1,Num开发者_运维技巧> arr = //initialize value