You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by James Peach <jp...@apache.org> on 2013/11/01 00:07:49 UTC
Re: [09/17] git commit: TS-2302: LogUtils wants to be a namespace,
not a class
On Oct 31, 2013, at 3:24 PM, Igor Galić <i....@brainsware.org> wrote:
>
>
> ----- Original Message -----
>> TS-2302: LogUtils wants to be a namespace, not a class
>
> [snip]
>> -
>> -#define NELEMS(array) (sizeof(array)/sizeof(array[0]))
>> -
>> -typedef int DoNotConstruct;
>> -
>> -class LogUtils
>> +namespace LogUtils
>> {
>> -public:
>> - LogUtils(DoNotConstruct object);
>> -
>
> wow... this is impressive.
> How old is this code? How long has C++ had support for namespaces?
15 years or so?
J