On Friday 30 November 2001 4:06 pm, Jean-Marc Lasgouttes wrote: > >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> On Fri, Nov 30, 2001 at 03:34:26PM +0000, Angus Leeming wrote: > >> One quick point. Here the C-libraries are not in namespace std. We > >> have a CXX_GLOBAL_CSTD variable in config.h > > Andre> So I would need to write > > Andre> #ifdef CXX_GLOBAL_CSTD typedef std::size_t ...; #else typedef > Andre> size_t ...; #endif > > I'd say that types are never in std:: but I may be wrong.
You'd be wrong apparently! However, on the DEC, the C libraries most certainly are NOT wrapped into namespace std; André, I think it'd be neater if you had a #ifdef CXX_GLOBAL_CSTD using std::size_t; #endif at the top of the file, similar to other places in the code. Angus