Boost logo

Boost :

From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2006-07-25 19:09:17


Dave Dribin <dave-ml_at_[hidden]> writes:

> [snip]

> Well, if I haven't convinced you by this point, hopefully at you'll
> at least consider using a #define to disable constructors for those
> people that *do* find a real-world use for such classes in unions.

Perhaps the solution is to support both use cases by having a separate
type for each of the two use cases.

-- 
Jeremy Maitin-Shepard

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