Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-01-13 05:05:18

> > Therefore, it is easy to imagine, and experience actually proves
> > it, that even seasoned C++ programmers find it extremely disturbing that
> > both sp.Release() and sp->Release() compile flag-free, but do very
> different
> > things.
> In practice I have not found this to be a problem.

Many people did find this to be a problem. For what it's worth, for years
this has been a bug in a MSVC++ wizard-generated code for a Transaction
Server object. The code called sp->Release() instead of sp.Release(), which
caused mysterious crashes in some cases.


Check out THE C++ Seminar: 3 Days with 5 Experts

Boost list run by bdawes at, gregod at, cpdaniel at, john at