3 #if !defined(CPPLINQ_LINQ_SKIP_HPP) 4 #define CPPLINQ_LINQ_SKIP_HPP 11 template <
class Collection>
15 typedef typename Collection::cursor
cursor;
17 linq_skip(
const Collection& c, std::size_t n) : c(c), n(n) {}
22 auto cur = c.get_cursor();
23 while(rem-- && !cur.empty()) {
35 #endif // !defined(CPPLINQ_LINQ_SKIP_HPP) cursor get_cursor() const
Definition: linq_skip.hpp:19
linq_skip(const Collection &c, std::size_t n)
Definition: linq_skip.hpp:17
Definition: linq_skip.hpp:12
Collection::cursor cursor
Definition: linq_skip.hpp:15