Boost logo

Boost :

From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-10-07 20:12:07


--- Eric Friedman <ebf_at_[hidden]> wrote:
> In my opinion, the ability to turn off heap backup for variant should be
> seen as an optimization (i.e., as it prevents costly heap allocation)
> and not any sort of interface feature. Please disagree with me though.

The problem is that the user might turn no/off the heap
backup inadvertently by simple specifying an 'int'
as the first type. So in generic context, the variant
protection (with the heap backup) is unpredictable.

Eugene

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


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