From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-04-10 07:25:23
the current implementation of shared_ptr allows the following
program to compile with MSVC6SP5.
p_i = 42;
The line p_i = 42; generates no assembly instructions at all, it
is simply ignored.
This is especially dangerous as the compiler belives this to be
the same as p_i = new int(0) which also doesn't generate any
I think this is a serious problem and should be addressed.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk