From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-03-10 16:48:05
On Friday 08 March 2002 15:06, David Abrahams wrote:
> ----- Original Message -----
> From: "Toon Knapen" <toon.knapen_at_[hidden]>
> > But once layout and initialisation is covered, what about copying for
> > intstance. If I std::copy( complex1_begin, complex1_end,
> > complex2_begin),
> > is the compiler able to use memcpy (AFAIK it will call the assignment
> > op for every one of them)
> That part could be handled with compiler-supported type_traits, using
> has_trivial_copy_constructor. Much less of a challenge.
In that case, would'nt it be much simpler to have traits support for 'is_pod'
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk