Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 1999-08-23 07:26:00


Valentin Bonnard wrote:

>Beman Dawes wrote:
>>
>> Valentin Bonnard wrote:
>
>> >AFAIK, you are _never_ allowed to include a standard header
inside
>> >a namespace.
>
>> Yes, but <boost/stdint.h> isn't a C++ standard header.
>
>But <stdint.h> and <limits.h> are. They are indirectly injected
>in namespace boost.

That's true of the particular implementation, but it isn't part of
the specified interface. So if their inclusion causes problems,
rewrite the implementation.

If you can figure out a portable implementation which doesn't use
those C headers, that would be better. But using them was the only
way I saw to get the desired effect.

--Beman


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