Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-10-24 04:29:55


offset_ptr.hpp:291 contains the following code for operator>>:

template<class E, class T, class Y>
inline std::basic_istream<E, T> & operator>>
    (std::basic_istream<E, T> & os, offset_ptr<Y> & p)
{ Y * tmp; return os >> tmp; p = tmp; }

The last assignment is never executed as there is a return statement before
it. This smells fishy.


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