container
container copied to clipboard
static_vector::operator== should be constexpr
We never allocate so everything can easily be done in constexpr
, or do I miss something?
actually, i wonder if all of static_vector
could potentially be constexpr
actually, i wonder if all of static_vector could potentially be constexpr
It can be! There's a static_vector
standards proposal and a reference implementation, all constexpr
.