Eric Niebler a écrit :
joel falcou wrote:
OK.
Last question. I changed my make_expr to use domain_of and it worked nice for the base case.
I'm confused. You *were* using domain_of and I told you not to. ??? No, I wasn't and you did ;) What is domain here? template<class SIMDDescriptor> struct simd_domain : bp::domain< simd_generator<SIMDDescriptor> , simd_grammar {};
It's a template domain to go with the template generator of the tempalte expression.
Please post complete code that I can test. Here is a small test case :
http://codepad.org/x1U86VS9
I used string and lexical cast instead of real SIMD value cause the
amount of extra code was really large and because those two type
has the same non native casting properties than two different vector
types. This exhibits the same problem than I have currently aka
failure to properly evaluate the to_float expression which is an
expression of domain X with a child of domain Z.
The error log with g++ 4.3 is :
/usr/local/include/boost-1_38/boost/proto/context/callable.hpp||In
member function ‘typename boost::result_of