0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Remove structure sqlpp::iterator_category.

This commit is contained in:
MeanSquaredError 2024-09-02 19:53:52 +03:00 committed by Roland Bock
parent 28dac3a3d3
commit f983abcfc0

View File

@ -32,12 +32,6 @@
namespace sqlpp
{
template <typename>
struct iterator_category
{
using type = std::input_iterator_tag;
};
namespace detail
{
template<class DbResult, class = void>
@ -87,7 +81,7 @@ namespace sqlpp
class iterator
{
public:
using iterator_category = typename iterator_category<DbResult>::type;
using iterator_category = std::input_iterator_tag;
using value_type = result_row_t;
using pointer = const result_row_t*;
using reference = const result_row_t&;