fix the stupid iterator
parent
785565f03e
commit
42fa378200
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
include(cmake/color.cmake)
|
||||||
set(BLT_VERSION 0.18.24)
|
set(BLT_VERSION 0.18.25)
|
||||||
set(BLT_TEST_VERSION 0.0.1)
|
set(BLT_TEST_VERSION 0.0.1)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
|
@ -196,7 +196,7 @@ namespace blt
|
||||||
template<typename Begin, typename End>
|
template<typename Begin, typename End>
|
||||||
static inline auto reverse_iterate(Begin&& begin, End&& end)
|
static inline auto reverse_iterate(Begin&& begin, End&& end)
|
||||||
{
|
{
|
||||||
return itr::itr_container{std::reverse_iterator(std::forward<Begin>(begin)), std::reverse_iterator(std::forward<End>(end))};
|
return itr::itr_container{std::reverse_iterator(std::forward<Begin>(end)), std::reverse_iterator(std::forward<End>(begin))};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
Loading…
Reference in New Issue