|
Boost : |
Subject: Re: [boost] namespace boost?
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2011-01-15 15:49:18
----- Original Message -----
From: "Denis Shevchenko" <for.dshevchenko_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, January 15, 2011 9:35 PM
Subject: Re: [boost] namespace boost?
> In addition, I think that a single standard of namespaces should be
> combined with a single standard of .hpp files location in main 'boost'
> directory.
>
> IMHO, simple libraries (such boost::mem_fn or boost::lexical_cast) which
> consist of a single .hpp file can (or must) be placed in main 'boost'
> directory, so user can write:
>
> #include <boost/mem_fn.hpp>
>
> For more complex libraries, all .hpp files must be placed in own
> directory (like boost::ptr_container), so user writes:
>
> #include <boost/ptr_container/ptr_container.hpp>
I find useful to have the file that include all the other files at the boost directory level. As it is the case for Boost.Flyweight
#include <boost/flyweight.hpp>
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk