[Proto] Building custom expression and new domain deduction not working
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 ?
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.
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
Eric Niebler wrote:
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 Oooooh crap I feel bad v_v Of course terminal
is no way in grammar.
Sorry for the disturbance.
participants (3)
-
Eric Niebler
-
joel falcou
-
Joel Falcou