initial impl of P1976R2

This commit is contained in:
Jordan Maples
2020-05-19 16:27:46 -07:00
parent 1999b48a51
commit 2085c7acde
6 changed files with 1267 additions and 1241 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ TEST(span_ext_test, make_span_from_array_constructor)
{
int arr[] = {1, 2, 3};
span<int> s1 = {&arr[0], 2}; // shorter
span<int> s1 = span<int>(&arr[0], 2); // shorter
span<int> s2 = arr; // longer
EXPECT_TRUE(s1 != s2);