ΒΆtemplate <typename T,
typename = std::enable_if_t<
std::is_integral<T>::value &&
!std::is_enum<T>::value>>
auto seq_inclusive(T Begin, T End)
template <typename T,
typename = std::enable_if_t<
std::is_integral<T>::value &&
!std::is_enum<T>::value>>
auto seq_inclusive(T Begin, T End)
Description
Iterate over an integral type from Begin to End inclusive. Note: Begin and End values have to be within [INTMAX_MIN, INTMAX_MAX - 1] for forward iteration (resp. [INTMAX_MIN + 1, INTMAX_MAX - 1] for reverse iteration).
Declared at: llvm/include/llvm/ADT/Sequence.h:316
Templates
- T
- = std::enable_if_t<std::is_integral<T>::value && !std::is_enum<T>::value>
Parameters
- T Begin
- T End