Re: globals.c->globals.cc

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 15 Dec 2002 21:46:42 +0100 (CET)

On 16 Dec 2002, Robert Collins wrote:

> The global functions should start with captial letters - ie
> CurrentTimeC(). Also, I'm not clear *just be looking at them* what the C
> and D stand for - choosing a slightly clearer name may help new
> contributors.

Suggestions are welcome. Picked by "C" for C time, "D" for double.

> Lastly, for C++ compiled files, it would make sense, to me, to return
> 'const & foo' for the inlined functions, as that would prevent temporary
> copies being made.

Have considered this, but we then need a C++ backing file for -O0, which
does not mix well with lib being C.

Regards
Henrik
Received on Sun Dec 15 2002 - 13:46:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:01 MST