|
 |
Thorsten Froehlich <tho### [at] trf de> wrote:
> On 21.10.11 21:34, [GDS|Entropy] wrote:
> > From microsoft connect:
> > http://connect.microsoft.com/VisualStudio/feedback/details/522404/share-ptr
> It is actually sufficient to use a boost version aware of the TR1
> implementation of your library or to disable the TR1 / C++11 support in your
> library.
> > Explicitly state: boost::shared_ptr
> That is a kludge, not a solution.
Because disabling support for the C++ *standard* in the compiler isn't
a kludge. Right.
(Your position might have had more weight when shared_ptr was only part
of the TR1 extension but not yet part of the C++ standard. However, now
that it is part of the official standard, your argument is just bogus.)
I'm sorry to say this, and not to disrespect your competence as a C++
programmer, but your stubborness with regard to the language is detrimental.
Explicit namespace qualifications in names are not "kludges". They are not
only a completely normal and standard way of programming, they are actually
the *recommended* way of programming C++ (for the precise reason to avoid
name collisions). If anything, it's the "using namespace" feature that's a
kludge, which got introduced to the first C++ standard mainly for
compatibility with pre-standard compilers (although it does have some uses
in some cases, which do not include dumping an entire namespace into the
global namespace).
--
- Warp
Post a reply to this message
|
 |