Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-05-18 16:48:42


Oven, an implementation of the Range Library Proposal, was uploaded to Vault/Algorithms.
I suppose it is considered as Boost.View2 or range_ex2.

The file:

Range Library Proposal:

An example "lazy merge sort":

        any_range<int const&, boost::forward_traversal_tag>

    range merge_sort(range rng)
        typedef boost::result_of<op_distance(range&)>::type diff_t;

        diff_t d = distance(rng);

        if (d < 2)
            return rng;
        else {
            return make_merged(

The status is highly preliminary, but moderately tested.
Any feedback appreciated.


Shunsuke Sogame

Boost list run by bdawes at, gregod at, cpdaniel at, john at