Martin Sebor wrote: > >[EMAIL PROTECTED] wrote: >> Author: vitek >> Date: Thu Jun 26 15:48:21 2008 >> New Revision: 672048 >> >> URL: http://svn.apache.org/viewvc?rev=672048&view=rev >> Log: >> 2008-06-27 Travis Vitek <[EMAIL PROTECTED]> >> >> * tests/utilities/20.forward.cpp [_RWSTD_NO_EXT_CXX_0X]: Add >> guard to get test to compile and run when extension is not >> explicitly enabled. Include rw/_defs.h explicitly in case >> rw_driver.h does not. > >Every stdcxx header should always end up #including <rw/_defs.h> >so that no code outside the library needs to (as always, there >are unavoidable exceptions). <rw_driver.h> includes the header >via <rw_testdefs.h> which in turn should be #included by every >test driver header.
Yes, I know. > > Are there any circumstances when this doesn't happen? No. My comment is misleading. I'm simply applying the undocumented style for #include directives in stdcxx [http://tinyurl.com/6abxfz], which is quoted below... > >> 2. include directives are in alphabetical order, with >> rw/_defs.h being last (it still ends up getting included >> first, indirectly, by the first header); the exception >> here is when a stdcxx config macro needs to be tested >> before the first #include directive > >Martin > >