|
Boost : |
Subject: Re: [boost] [phoenix] bug 9111
From: Michael Caisse (mcaisse-lists_at_[hidden])
Date: 2014-01-22 18:07:33
On 01/22/2014 02:56 PM, Fletcher, John P wrote:
>
> I have looked at the code for no 9111 and it looks like this:
>
> template <int M, typename RhsRT, typename RhsFP>
> bool operator==(function_ptr<M, RhsRT, RhsFP> const & rhs) const
> {
> return false;
> }
>
> For some reason that specialized case is always returning false, which is why rhs is unused.
>
> I need to look into why that is the case, or else do some dummy operation on rhs which will suppress the warning.
>
> John
>
or ....
template <int M, typename RhsRT, typename RhsFP>
bool operator==(function_ptr<M, RhsRT, RhsFP> const & /*rhs*/) const
{
return false;
}
-- Michael Caisse ciere consulting ciere.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk