
On Wed, Jun 24, 2009 at 12:01 PM, Christian Schladetsch<christian.schladetsch@gmail.com> wrote:
I think this can easily be done through 'using' declarations:
namespace boost { namespace containers { using boost::interprocess::list; using boost::interprocess::vector; /* ... */ } }
This makes complete sense to me.
What would the header names be? Perhaps:
#include <boost/containers/list.hpp> #include <boost/containers/vector.hpp> ... #include <boost/containers.hpp> // includes all above
I'd think this would be a sane organization.
Would the intermediate directory be called plural containers or singular container?
Based on the guidelines, it'd most probably be plural. 'boost::containers::*' makes much more sense at least to me.
Is interprocess::string a container? I would say yes, but then there would be <boost/container/string.hpp> which seems a little unsettling.
But, does boost really want a <boost/string.hpp> ?
I'd say it's fine with me to have something like <boost/containers/string.hpp> -- it's just a file name anyway and it's descriptive enough to convey the meaning. HTH -- Dean Michael Berris | Software Engineer, Friendster, Inc. blog.cplusplus-soup.com | twitter.com/mikhailberis | linkedin.com/in/mikhailberis | profiles.friendster.com/mikhailberis | deanberris.com