Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-04-29 21:46:35

"Gennadiy Rozental" <rogeeff_at_[hidden]> wrote in message
> It won't it users will use distinct type like SharedWidgetPtr. Users could
> use Widget* directly but it is the case with the policy-based solution
> either. "Might even link and run in certain cases!"

This argument doesn't hold water. If users use Widget* directly, they have
and expect a regular pointer, not a smart pointer. On the contrary, in the
case of an ODR violation, users faithfully do everything they think it's
reasonable doing, yet the code goes amok.


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