
18 Oct
2008
18 Oct
'08
2:28 p.m.
Joel Falcou wrote:
Neat code indeed. What's the simd_generator class ? a context or something I miss ?
Used as the first parameter to the domain<> template. I would have used proto::pod_generator<simd_expr>, except that the pod_generator<> template accepts only class templates with one parameter, and simd_expr has two. See the section in the docs on generators ... they're just function objects that return wrapped Proto expression objects. -- Eric Niebler BoostPro Computing http://www.boostpro.com