enumerate on itr_offset

v1
Brett 2024-02-08 13:43:30 -05:00
parent f3c3a3bc4a
commit cf27247eb4
1 changed files with 6 additions and 0 deletions

View File

@ -91,6 +91,12 @@ namespace blt
return enumerator{container.begin(), container.end()};
}
template<typename T>
static inline auto enumerate(T&& container)
{
return enumerator{container.begin(), container.end()};
}
template<typename T>
struct range
{