Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-01-03 07:51:18


"Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
news:bt5g16$cs8$1_at_sea.gmane.org...
> "Daryle Walker" <darylew_at_[hidden]> wrote in message

[snip]

> > Are there common cases where you would need non-polymorphic capability?
>
> The thing that got me started was a voice commuincation app that had a
> map<string, Socket*> member. I assume that the programmer had reason
> for using the pointers; perhaps the socket was not assigneable.

I just spoke with my collegue and he said the problem was that the
destructor of the MFC CSocket
class calls Close() which would end the connection. I guess there are quite
a few classes which
does similar stuff in their destructor.

br

Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk