Fix/implement C++2020 compilation, tests, and CI (#1017)

* Fix C++20 bugs and tests
* Rework CI for C++2020 tests
* Update readme compiler versions
This commit is contained in:
dmitrykobets-msft
2021-12-09 14:54:06 -08:00
committed by GitHub
parent e0880931ae
commit bcf008ae55
12 changed files with 80 additions and 67 deletions
+1 -2
View File
@@ -43,7 +43,6 @@
#include "deathTestCommon.h"
using namespace std;
using namespace gsl;
namespace
@@ -1085,7 +1084,7 @@ TEST(span_test, as_bytes)
int b[5] = {1, 2, 3, 4, 5};
{
span<int> sp(begin(b), static_cast<size_t>(-2));
span<int> sp(std::begin(b), static_cast<size_t>(-2));
EXPECT_DEATH((void) sp.size_bytes(), expected);
}
}