A Merge Adaptor is a Range Adaptor for sorted ranges.
merged
combines two sorted
ranges into a single sorted range.
<pstade/oven/merged.hpp>
less
is regular(boost::lambda::_1 < boost::lambda::_2)
.
Valid expression |
Semantics |
---|---|
|
An up-to-Forward
Constant Range
which behaves as if it were made by |
|
|
_rng1
and _rng2
are Readable
or Lvalue.
boost::range_reference<_typeof(_rng2)>::type
is convertible to boost::range_reference<_typeof(_rng1)>::type
without binding reference
to rvalue.
_rng1
and _rng2
are sorted.
_prd
is Assignable
and Default
Constructible.
_prd
shall not modify referents.
std::string A1("abbbfH"); std::string A2("ABbCDFFhh"); std::string AA("aAbbbBbCDfFFHhh"); BOOST_CHECK( equals(A1|merged(A2, &::lt_nocase), AA) );
<pstade/oven/set_cap.hpp>
Valid expression |
Semantics |
---|---|
|
An up-to-Forward
Constant Range
which behaves as if it were made by |
|
|
merged
.
<pstade/oven/set_cup.hpp>
Valid expression |
Semantics |
---|---|
|
An up-to-Forward
Constant Range
which behaves as if it were made by |
|
|
merged
.
<pstade/oven/set_delta.hpp>
Valid expression |
Semantics |
---|---|
|
An up-to-Forward
Constant Range
which behaves as if it were made by |
|
|
merged
.
<pstade/oven/set_minus.hpp>
Valid expression |
Semantics |
---|---|
|
An up-to-Forward
Constant Range
which behaves as if it were made by |
|
|
merged
.
Copyright © 2005 -2007 Shunsuke Sogame |