POV-Ray : Newsgroups : povray.beta-test : Beta 37 and C++0x : Re: Beta 37 and C++0x Server Time
4 Jul 2024 17:50:51 EDT (-0400)
  Re: Beta 37 and C++0x  
From: Thorsten Froehlich
Date: 4 Jun 2010 16:15:24
Message: <4c095edc$1@news.povray.org>
On 04.06.10 18:56, Warp wrote:
>    Well, that's the problem: Without the prefixes you have to make an
> assumption. With the prefixes you don't have to assume anything.
>
>    If your programming policy is to skip the namespace prefixes, then you also
> have to use additional extraneous coding conventions in order to avoid name
> collisions with the standard library. For example, you must never use a
> function name or type which might be the same as one existing in the standard
> library. Given how extensive the standard library is, it's not completely
> unlikely that naming collisions won't happen.
>
>    What is worse, even if your code doesn't clash with the standard libraries
> *now*, they might start clashing in the future when new names are introduced
> to it.

Nonsense, pure and simple: The standard library uses lower case for all 
names. So guess what is sufficient to avoid any and all collisions now and 
in the future ... ROFL - your arguments really don't make sense!

(Rhetoric question) Don't you think it is time to quit this thread?

	Thorsten


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.