|
Boost : |
From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-08-18 07:44:59
Ed Brey wrote:
> I can see it being convenient to pull all the integer types into the
> current namespace in one operation. To that end, I'd like to propose
> that cstdint.hpp change to look like this:
> namespace boost
> {
>
> namespace integer_types
> {
> #include <boost/stdint.h>
> }
>
> using namespace integer_types;
>
> } // namespace boost
>
> #endif // BOOST_CSTDINT_HPP
>
> This would allow a particular function to do something like this:
>
> void fn()
> {
> using namespace boost::integer_types;
For namespace grouping, the C++ language also gives us a non
intrusive choice:
namespace AllBoost {
using namespace boost;
using namespace boost::estl;
using namespace boost::filesystem;
}
namespace Everything {
using namespace AllBoost;
using namespace std;
}
using namespace AllBoost;
-- Valentin Bonnard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk