[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison-2.0a feedback: strlen problem

From: Hans Aberg
Subject: Re: bison-2.0a feedback: strlen problem
Date: Mon, 30 May 2005 18:30:33 +0200

At 17:28 +0200 2005/05/30, Alexandre Duret-Lutz wrote:
On Mon, May 30, 2005 at 04:22:20PM +0200, Hans Aberg wrote:
 Under C++, for example, the name is really std::strlen, not strlen.

Not if you include string.h, which happens when compiling C code.

The revision of the C++ standard that I have, ISO+IEC+14882-1998, says:
D.5.2 Each C header, whose name has the form name.h, behaves as if each name placed in the Standard library namespace by the corresponding cname header is also placed within the namespace scope of the namespace std and is followed by an explicit using-declaration(7.3.3)

Are you saying it has been changed in the later C++ revision?
  Hans Aberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]