Closed crtrott closed 6 months ago
@crtrott This looks good!
Regarding zero padding value: The constructors that take a run-time padding value pad
now explicitly forbid zero. For (compile-time) PaddingValue = 0
the definition of least_multiple_at_least( padding_value , extents_type::static_extent(0) )
for extents_type::static_extent(0)
not equal to dynamic_extent
is now just extents_type::static_extent(0)
, so I think this case is also fine now.
THis fixes the preconditions mentioned in #444