b6bebcf6b8
When partial_range is used on a container that defines index_type, define that same index_type on the partial_range. This allows other callers, such as enumerate(), to maintain the correct index type.
11 lines
375 B
C++
11 lines
375 B
C++
/*
|
|
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
|
|
* It is copyright by its individual contributors, as recorded in the
|
|
* project's Git history. See COPYING.txt at the top level for license
|
|
* terms and a link to the Git history.
|
|
*/
|
|
#pragma once
|
|
|
|
template <typename range_iterator, typename range_index_type = void>
|
|
class partial_range_t;
|