incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: _RWSTD_NO_EXT_CXX_0X Include Check
Date Mon, 16 Jun 2008 17:39:53 GMT
 

> -----Original Message-----
> From: Travis Vitek [mailto:Travis.Vitek@roguewave.com] 
> Sent: Monday, June 16, 2008 11:18 AM
> To: dev@stdcxx.apache.org
> Subject: RE: _RWSTD_NO_EXT_CXX_0X Include Check
> 
>  
> 
...
> 
> You have to include rw/_defs.h before you do the _RWSTD_NO_EXT_CXX_0X
> check because that macro might be defined in one of the files included
> from there. So that means moving the rw/_defs.h include outside of the
> header guard. This would require an additional file open [or 
> a lookup at
> the very least] as well as a condition check every time the file was
> included from client code.

Yeah, you're right: this would require enough non-conventional changes
that its probably best just leaving it inside the include guard.

Brad.

Mime
View raw message