Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] Questions about deep_copy
From: Kim Kuen Tang (kuentang_at_[hidden])
Date: 2009-05-10 15:17:56


Hi Joel ,

thanks for your reply.

But i doubt that BOOST_PROTO_AUTO could solve this problem, because it
copies all values no matter for arrays. Since this can cause a large
amount of data to copy this would definitely slow down for example
matrix-vector multiplication.

What i want is that deep_copy should copy only single values like
double, float or int and not arrays.

B/Rgds
Kim

Joel Falcou schrieb:
> There is BOOST_PROTO_AUTO that solves this problem IIRC by providing
> the proper deep_copy call during the "auto" evaluation
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net