Better fix. Avoiding underscores.

This commit is contained in:
Richard Powell 2015-11-25 10:11:41 -08:00
parent 5dbffe0eb7
commit 3a2cda71b9

View File

@ -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");
} }