Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-11-11 13:46:34

Hi Beman,

"Beman Dawes" <bdawes_at_[hidden]> wrote in message
| I'm currently working on a major revision of the Boost filesystem library
| aimed at getting it ready to be proposed to the C++ committee for the next
| Library TR.

I have a few requests:

1. there should be a really easy way to iterate over a directory in a
recursive fashion; possibly
    with the chioce of doing DFS or BFS. I know we have discussed this before,
but I feel it is so commonly
    used that it should be supported.

2. there should be a functions like this:

    template< class Seq >
    Seq load_file( const std::string& );

    template< class Seq >
     Seq load_file( const path& );

    which would permit stuff like

    std::string s = load_file<std::string>( "foo.txt" );

    A naive implementation would simply do Seq seq( iter, iter ); return seq;
    but the idea is of course that faster methods like mem-mapping could be


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