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