This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: making conforming headers.
On Fri, 05 May 2000, Martin v. Loewis wrote:
> I believe the restriction in 17.4.4.1/3, as well as annex D.5, is
> mostly a non-requirement, because of the as-if rule. Can you give an
> example where using /usr/include C library name.h headers violates any
> of the requirements? I'm asking for a violation that can be detected
> with a C++ program; not one that is detected by looking at the sources
> of the headers in an editor.
would this not do the trick:
#include <string.h>
namespace foo
{
using std::strlen;
}
int
main ()
{
}
--
Steven King
sxking@uswest.net