Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] Building custom expression and new domain deduction not working
From: Eric Niebler (eric_at_[hidden])
Date: 2010-06-22 15:25:38


On 6/22/2010 12:29 PM, Joel Falcou wrote:
> Here's an update on my last version.
> I have now added a new function building a custom expression node in a
> given domain.
>
> http://codepad.org/ddjFylti
>
> This code fails to compile under current trunk by saying that there is
> no proper operator+ to find. I guess it's because it can't see t and
> iota(0,8) to be in the same , compatible domain.
>
> Did I do something wrong ?

Yep. It has nothing to do with the domains. The expression type returned
by iota does not match your grammar.

HTH,

-- 
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