Boost logo

Boost :

From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-08-18 08:15:58


Beman Dawes wrote:
>
> At 06:03 PM 8/17/99 +0200, Valentin Bonnard wrote:
>
> >1/
> >namespace boost
> >{
> >#include <boost/stdint.h>
> >
> >Hum hum
>
> I assume "hum hum" means you think the usage is a bit odd.

It is

> And it
> is, but since the only thing in stdint.h are typedefs, we can hijack
> them into namespace boost if we want to, AFAIK.

AFAIK, you are _never_ allowed to include a standard header inside
a namespace. I am sure that this can at least give strange results,
like having two functions:
- foo::strchr
- std::strchr
in scope.

-- 
Valentin Bonnard

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