mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Better fix. Avoiding underscores.
This commit is contained in:
parent
5dbffe0eb7
commit
3a2cda71b9
@ -507,7 +507,7 @@ namespace details
|
|||||||
struct TypeListIndexer
|
struct TypeListIndexer
|
||||||
{
|
{
|
||||||
const TypeChain & obj;
|
const TypeChain & obj;
|
||||||
TypeListIndexer(const TypeChain & obj_) :obj(obj_){}
|
TypeListIndexer(const TypeChain & object) :obj(object){}
|
||||||
template<size_t N>
|
template<size_t N>
|
||||||
const TypeChain & getObj(std::true_type)
|
const TypeChain & getObj(std::true_type)
|
||||||
{
|
{
|
||||||
@ -814,8 +814,8 @@ public:
|
|||||||
using index_type = value_type;
|
using index_type = value_type;
|
||||||
using index_size_type = typename IndexType::value_type;
|
using index_size_type = typename IndexType::value_type;
|
||||||
template <typename Bounds>
|
template <typename Bounds>
|
||||||
explicit bounds_iterator(const Bounds& bnd, value_type curr_) noexcept
|
explicit bounds_iterator(const Bounds& bnd, value_type current) noexcept
|
||||||
: boundary(bnd.index_bounds()), curr(std::move(curr_))
|
: boundary(bnd.index_bounds()), curr(std::move(current))
|
||||||
{
|
{
|
||||||
static_assert(is_bounds<Bounds>::value, "Bounds type must be provided");
|
static_assert(is_bounds<Bounds>::value, "Bounds type must be provided");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user