[odb-users] odb::result<T> does not contain members
"const_iterator" and "end () const".
boris at codesynthesis.com
Fri Feb 27 06:08:31 EST 2015
Jeroen N. Witmond [Bahco] <jnw at xs4all.nl> writes:
> While experimenting with ODB I noticed that odb::result<T> does not
> contain members "const_iterator" and "end () const".
Result is a stream-like object and result::iterator is an input
iterator. In this light, it doesn't make much sense to have a
const_iterator since advancing the iterator changes the result.
> The compiler noticed it, anyway. :-)
Can you show the code fragment that triggered it?
More information about the odb-users