| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pythran/pythonic/utils/ |
Upload File : |
#ifndef PYTHONIC_UTILS_ITERATOR_HPP
#define PYTHONIC_UTILS_ITERATOR_HPP
#include "pythonic/include/utils/iterator.hpp"
PYTHONIC_NS_BEGIN
namespace utils
{
template <class T>
comparable_iterator<T>::comparable_iterator()
: T()
{
}
template <class T>
comparable_iterator<T>::comparable_iterator(T const &t)
: T(t)
{
}
template <class T>
bool comparable_iterator<T>::operator<(comparable_iterator<T> other)
{
return (*this) != other;
}
template <class T>
iterator_reminder<false, T>::iterator_reminder(T const &v)
: values(v)
{
}
template <class T>
iterator_reminder<true, T>::iterator_reminder(T const &v)
: values(v)
{
}
template <class T, class... Others>
iterator_reminder<true, T, Others...>::iterator_reminder(
T const &v, Others const &... others)
: values(v, others...)
{
}
}
PYTHONIC_NS_END
#endif