On Oct 31, 2013, at 3:24 PM, Igor Galić <[email protected]> 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

Reply via email to