1 /// 2 /// @file IteratorHelper.hpp 3 /// 4 /// Copyright (C) 2018 Kim Walisch, <kim.walisch@gmail.com> 5 /// 6 /// This file is distributed under the BSD License. See the COPYING 7 /// file in the top level directory. 8 /// 9 10 #ifndef ITERATOR_HELPER_HPP 11 #define ITERATOR_HELPER_HPP 12 13 #include <stdint.h> 14 15 namespace primesieve { 16 17 class IteratorHelper 18 { 19 public: 20 static void next(uint64_t* start, 21 uint64_t* stop, 22 uint64_t stopHint, 23 uint64_t* dist); 24 25 static void prev(uint64_t* start, 26 uint64_t* stop, 27 uint64_t stopHint, 28 uint64_t* dist); 29 }; 30 31 } // namespace 32 33 #endif 34