// file : odb/result.txx // author : Boris Kolpackov // copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file namespace odb { template result_impl:: ~result_impl () { } template typename result_impl::pointer_type& result_impl:: current () { if (pointer_traits::null_ptr (current_) && !end_) { current (traits::create ()); current (pointer_traits::get_ref (current_)); } return current_; } }