On Sun, Mar 23, 2003 at 11:44:16AM +0100, Michael Mertens wrote: > Btw, I'm using std::auto_ptr on VC6/STLPort without any problems.
Now I remember what the issue is. Sorry about the earlier confusion. The problem is that the constructor for auto_ptr is "explicit" so you'd have to do this: StringSource s(message, true, std::auto_ptr<BufferedTransformation>(new HexEncoder)); instead of StringSource s(message, true, new HexEncoder); I wanted to avoid having to do the extra typing.
