Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-11 11:41:18


Terje Slettebø <tslettebo_at_[hidden]> writes:

> I understand you (Johan) want to be able to have generic factories, but then
> erasing the type is probably not the way to go, and as has been pointed out
> in this thread, void * is type erasure. More or less the only safe thing you
> can do with it, is to delete it.

Not even that, usually.

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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