Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] Extracting types of sub-expression in transform
From: Eric Niebler (eric_at_[hidden])
Date: 2008-10-18 16:28:09


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

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