|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-06-30 10:41:25
On Sat, 30 Jun 2001, Peter Dimov wrote:
> Creation on the heap is orders of magnitude more expensive than managing a
> reference count.
>
> This is the major problem I see with a noncopyable design. [This is not
> limited to the current discussion, but applies in general.] The design
> forces the user to use 'new,' a keyword that has no place in user land.
I agree strongly with this. The design should not force the user to call
'new'. I'd much rather see a copyable thread_id type.
Cheers,
Jeremy
----------------------------------------------------------------------
Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
Ph.D. Candidate, IU B'ton email: jsiek_at_[hidden]
Summer Manager, AT&T Research phone: (973) 360-8185
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk