httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: C++ suggestions
Date Sun, 17 Oct 1999 11:20:51 GMT
Henrik Vendelbo wrote:
> I just noticed that some thoughtfull person added
> #ifdef __cplusplus
> extern "C" {
> #endif /* __cplusplus */
> to the apr_general.h
> Why not make all the apr source compilable under C++ (I just said
> compilable, not transformed into, or to be compiled using). It wouldn't
> take a lot. Mostly we just need to avoid reserved words like
> new
> delete
> boolean
> I've seen new used a couple of places.

boolean isn't a reserved word. You mean bool.

> Thoughts ?

Yeah, we should do it. To all the source (well, the headers, anyway).




"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

View raw message