From: Alexander Nasonov (alnsn-mycop_at_[hidden])
Date: 2003-09-01 03:01:52
Eric Friedman wrote:
> If I understand you correctly, earlier versions of variant did precisely
> what you describe. Unfortunately, the "assumption" you make is false in
> general. See http://aspn.activestate.com/ASPN/Mail/Message/boost/1311813.
Well, is_polymorphic<T> based on compiler properties beyond the standrad.
Why not optimize variant for compilers which safely memcpy forth and back?
-- Alexander Nasonov Remove minus and all between minus and at from my e-mail for timely response
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk