Boost logo

Boost :

Subject: Re: [boost] [Modularization] A new approach to header modularization
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2009-05-28 10:31:46


Beman Dawes wrote:
> [snip]
> root/
> boost/
> filesystem.hpp
> filesystem/
> config.hpp
> convenience.hpp
> exception.hpp
> fstream.hpp
> operations.hpp
> path.hpp
> build/
> ...
> CMakeLists.txt
> doc/
> ...
> example/
> ...
> index.html
> ...
> module.cmake
> src/
> ...
> test/
> ...

Looks ugly for my taste, sorry.

> In theory, the root/libs/... tree isn't needed anymore. In practice we
> might want to keep a root/libs/libname/index.html entry for each library
> so docs links don't break.
>
> Apologies if someone already suggested this approach. It is so simple I
> can't believe someone didn't already suggest it.
>
> Unless I'm missing something, this is the only approach that appears to
> do fairly well for all of the Goals/Objectives/Needs/Wants,

It doesn't make dependencies of header-only libraries explicit.

> [snip]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk