make find and find_if algorithms segment-aware, stylistic consistency tweaks

[SVN r73892]
This commit is contained in:
Eric Niebler
2011-08-18 17:12:05 +00:00
parent 528ad04fdb
commit 9dd14c435e
27 changed files with 623 additions and 539 deletions

View File

@ -13,24 +13,24 @@
namespace boost { namespace fusion { namespace detail
{
//auto segmented_end( rng )
//auto segmented_end( seq )
//{
// return make_segmented_iterator( segmented_end_impl( rng ) );
// return make_segmented_iterator( segmented_end_impl( seq ) );
//}
template<typename Range>
template <typename Sequence>
struct segmented_end
{
typedef
segmented_iterator<
typename segmented_end_impl<Range, fusion::nil>::type
typename segmented_end_impl<Sequence, fusion::nil>::type
>
type;
static type call(Range & rng)
static type call(Sequence & seq)
{
return type(
segmented_end_impl<Range, fusion::nil>::call(rng, fusion::nil()));
segmented_end_impl<Sequence, fusion::nil>::call(seq, fusion::nil()));
}
};