mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
9d8866a732
initializer_list do not have subscript operator, so the generic container overload of gsl::at fails to compile. This commits adds an overload of gsl::at for initializer_lists, using *(initializer_list::begin()+index) instead of subscript operator |
||
---|---|---|
.. | ||
unittest-cpp@dc6b908380 | ||
assertion_tests.cpp | ||
at_tests.cpp | ||
bounds_tests.cpp | ||
CMakeLists.txt | ||
notnull_tests.cpp | ||
owner_tests.cpp | ||
span_tests.cpp | ||
strided_span_tests.cpp | ||
string_span_tests.cpp | ||
utils_tests.cpp |