Struct Graph::solution_iterator

Nested Relationships

This struct is a nested type of Struct Graph.

Struct Documentation

struct solution_iterator

Public Types

using iterator_category = std::input_iterator_tag
using value_type = query::Solution
using difference_type = ptrdiff_t
using pointer = value_type const*
using reference = value_type const&

Public Functions

solution_iterator() noexcept = default
solution_iterator(typename Graph::iterator beg, query::TriplePattern const &pat) noexcept
solution_iterator &operator++() noexcept
void operator++(int) noexcept
reference operator*() const noexcept
pointer operator->() const noexcept

Friends

friend bool operator==(solution_iterator const &self, sentinel) noexcept
friend bool operator==(sentinel, solution_iterator const &self) noexcept