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

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