mirror of
https://github.com/microsoft/GSL.git
synced 2025-11-16 15:29:32 +01:00
reverting changes to gsl::index
This commit is contained in:
@@ -38,7 +38,7 @@ void g() { j += 1; }
|
||||
|
||||
TEST(utils_tests, sanity_check_for_gsl_index_typedef)
|
||||
{
|
||||
static_assert(std::is_same<gsl::index, std::size_t>::value,
|
||||
static_assert(std::is_same<gsl::index, std::ptrdiff_t>::value,
|
||||
"gsl::index represents wrong arithmetic type");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user