making conforming headers.

Steven King
Fri May 5 00:49:00 GMT 2000

On Fri, 05 May 2000, Martin v. Loewis wrote:

> I believe the restriction in, 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;

main ()

Steven King

More information about the Libstdc++ mailing list