We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f937564 commit f63fe29Copy full SHA for f63fe29
1 file changed
include/nonstd/span.hpp
@@ -1164,7 +1164,7 @@ class span
1164
: data_( other.data() )
1165
, size_( other.size() )
1166
{
1167
- span_EXPECTS( Extent == dynamic_extent || Extent != dynamic_extent && other.size() == to_size(Extent) );
+ span_EXPECTS( (Extent == dynamic_extent) || (Extent != dynamic_extent && other.size() == to_size(Extent)) );
1168
}
1169
1170
// 26.7.3.3 Subviews [span.sub]
0 commit comments