valarray:min and valarray::max have preconditions that require the valarray to be non-empty, so these calls are inherently non-portable.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
You can go ahead and commit this.
test/std/numerics/numarray/template.valarray/valarray.members/min.pass.cpp | ||
---|---|---|
29 | typo: size() > 0 |
Comment Actions
@STL_MSFT seems to have already fixed this by removing the problem test cases in bf7dc572f199007cbe042d5ea41bcf873dcedd8f. I'll simply abandon this change.
typo: size() > 0