POV-Ray : Newsgroups : povray.beta-test : Beta 37 and C++0x : Re: Beta 37 and C++0x Server Time
2 Jul 2024 15:23:30 EDT (-0400)
  Re: Beta 37 and C++0x  
From: Darren New
Date: 30 May 2010 15:05:35
Message: <4c02b6ff$1@news.povray.org>
Warp wrote:
>   However, even if the standardization committee would indeed end up
> changing the name of 'shared_ptr' to something else,

It would seem that if there's a conflict now, and the names are changed by 
the committee to avoid a conflict, then the next generation of compilers 
will be using the name from the wrong namespace, and you'll either not get a 
compile-time error at all but only wrong execution, or you'll get compile 
errors that make no sense in context, because anyone looking at the compile 
error will be looking at the definition in the wrong library and wondering 
why you're passing the wrong types of arguments.

-- 
Darren New, San Diego CA, USA (PST)
    Ada - the programming language trying to avoid
    you literally shooting yourself in the foot.


Post a reply to this message

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