Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-07-14 23:22:25

Hi, all

A new version of Oven, a range library proposal implementation, has been uploaded
to Boost.Vault/Algorithm.

The file:

Range Library Proposal:

An example "infinite sequence of factorials":

    void test()
            expression(counting(1, max_count)|scanned(1, regular(lambda::_1 * lambda::_2))) );

        int const answer[] = { 1,1,2,6,24,120,720,5040,40320,362880 };
        BOOST_CHECK( equals(factorials|taken(10), answer) );

This library is highly preliminary, but moderately tested.
Any feedback appreciated.


-- Shunsuke Sogame

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