Install upper_bound in ReadView:

*  And use it in doLedgerData.
This commit is contained in:
Howard Hinnant
2015-08-26 17:18:31 -04:00
committed by Edward Hennis
parent 849e1ce5f4
commit 83830ef9c0
13 changed files with 106 additions and 4 deletions

View File

@@ -144,6 +144,13 @@ ReadView::sles_type::end() const ->
return *end_;
}
auto
ReadView::sles_type::upper_bound(key_type const& key) const ->
iterator
{
return iterator(view_, view_->slesUpperBound(key));
}
ReadView::txs_type::txs_type(
ReadView const& view)
: ReadViewFwdRange(view)