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 |
||
---|---|---|
.. | ||
gsl_assert.h | ||
gsl_util.h | ||
gsl.h | ||
span.h | ||
string_span.h |