This comes from 1684R2 LEWG review on 2022/04/19.
We have no experience (do we?) with Container types other than vector and array. Should we restrict to those two types, or do the hard work of wording for other types like static_vector (fixed capacity that bounds the size)?
For example, the current wording only distinguishes between array and every other type. However, some other types, like static_vector, may default-construct nonempty, just like array. The question relates to whether the container can be constructed with a run-time size, vs. whether the container is "constructed nonempty" without a size.
This comes from 1684R2 LEWG review on 2022/04/19.
We have no experience (do we?) with Container types other than
vectorandarray. Should we restrict to those two types, or do the hard work of wording for other types likestatic_vector(fixed capacity that bounds the size)?For example, the current wording only distinguishes between
arrayand every other type. However, some other types, likestatic_vector, may default-construct nonempty, just likearray. The question relates to whether the container can be constructed with a run-time size, vs. whether the container is "constructed nonempty" without a size.