ThinSQLite++
A thin, safe and convenient modern C++ wrapper for SQLite API.
|
A forward range for statement results. More...
Public Types | |
using | value_type = row |
using | size_type = int |
using | difference_type = int |
using | reference = value_type |
using | pointer = void |
using | const_iterator = row_iterator |
using | iterator = const_iterator |
Public Member Functions | |
row_range (statement *owner) | |
Create an instance referring to a given statement. | |
row_range (std::unique_ptr< statement > &owner) | |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
const_iterator | begin () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | end () const noexcept |
const_iterator | cend () const noexcept |
A forward range for statement results.
This class stores the statement by reference. Thus statement must remain valid for the lifetime duration of this class.
#include <thinsqlitepp/statement.hpp>