9#ifndef PQXX_H_STREAM_ITERATOR
10#define PQXX_H_STREAM_ITERATOR
32 using value_type = std::tuple<TYPE...>;
49 value_type const &operator*()
const {
return m_value; }
54 return m_home == rhs.m_home;
59 return not(*
this == rhs);
65 if (m_home ==
nullptr)
66 throw usage_error{
"Moving stream_from iterator beyond end()."};
67 if (not((*m_home) >> m_value))
71 stream_t *m_home{
nullptr};
Stream data from the database.
Definition: stream_from.hxx:79
Error in usage of libpqxx library, similar to std::logic_error.
Definition: except.hxx:249
Internal items for libpqxx' own use. Do not use these yourself.
Definition: encodings.cxx:33
The home of all libpqxx classes, functions, templates, etc.
Definition: array.cxx:27
strip_t< decltype(*std::begin(std::declval< CONTAINER >()))> value_type
The type of a container's elements.
Definition: types.hxx:94
Definition: stream_iterator.hxx:16