aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/result.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/result.hxx b/odb/result.hxx
index 7356395..42939a9 100644
--- a/odb/result.hxx
+++ b/odb/result.hxx
@@ -72,6 +72,14 @@ namespace odb
return *this;
}
+ public:
+ void
+ load (T& x)
+ {
+ res_->current (x);
+ }
+
+ public:
bool
equal (const result_iterator& j)
{
@@ -116,6 +124,9 @@ namespace odb
current (bool release) = 0;
virtual void
+ current (T&) = 0;
+
+ virtual void
next () = 0;
};