Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2003-12-10 06:17:57


> I have a few questions regarding the <boost/config.hpp> support tool:
>
> [1] Is there support for libraries that have older I/O implementations
that
> do not implement std::basic_istream, etc.? GCC 2.95.3-5, for example, does
> not support std::basic_xxxstream classes unless libstdc++3 is used.

Use BOOST_NO_STD_LOCALE to test for either:

No new streams, or,
A broken new iostream implementation.

> [2] Is it possible to add checks for Dinkumware-style hash containers?

Probably, but nothing in Boost uses them, we do have BOOST_HAS_HASH for SGI
style hash tables though.

> [3] When using BOOST_DEDUCED_TYPENAME, should it be used in all contexts
> other than in template parameters, e.g.
>
> template< typename T > // ok
> struct demo
> {
> typedef BOOST_DEDUCED_TYPENAME T::type type;
> typedef std::list< BOOST_DEDUCED_TYPENAME T::value_type > list;
> };

No, probably only in deduced contexts - see the test program for that macro
for an example.

John.


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