Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::result_of and pure virtual functor leads to compile error
From: oswin krause (oswin.krause_at_[hidden])
Date: 2013-04-30 01:48:31


Done.

any intermediate workarounds?

On 30.04.2013 01:53, Eric Niebler wrote:
> On 4/29/2013 12:08 PM, oswin krause wrote:
>> Hi list,
>>
>> I am necountering an error when trying to use boost::result_of on a pure
>> virtual base class.
>>
>> minimal example:
>>
>> struct Test{
>> typedef int result_type;
>> virtual int operator()(int)=0;
>> };
>> typedef boost::result_of<Test(int)>::type type;
> This is supposed to work:
>
> typedef boost::result_of<Test&(int)>::type type;
>
> ...but I see it doesn't. Can you file a bug?
>
> Thanks,
>


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