Boost logo

Boost Users :

Subject: Re: [Boost-users] NT2 and Boost.SIMD beta 2 available
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-10-16 11:17:12


On 16/10/13 14:01, Olivier Tristan wrote:
> Le 16/10/2013 13:47, Mathias Gaunard a écrit :
>>
>> Is that the full error message? It's not very explicit.
>> Making error messages better is something we've been working on, and
>> apparently we still have some way to go.
> Nop, this was just the short version by VS 2012. Below the full error,
> which I don't find very explicit either :)
>
> The fixed version now works fine.
>
> main.cpp
> 1>c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp(58):
> error C2039: 'type' : is not a member of
> 'boost::dispatch::meta::result_of<Sig>'
> 1> with
> 1> [
> 1> Sig=const
> boost::dispatch::functor<boost::simd::tag::multiplies_> (float,int)
> 1> ]

This bit says that there is no functor<multiplies_>(float, int).

I think the reason it is hard to find is because if there no SIMD
function, we try to map it to some scalar equivalent, and the error is
therefore not in the right place.


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