Boost logo

Boost Users :

Subject: Re: [Boost-users] A question on overloaded function? Can anyone with kindness help me?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-07-01 21:57:35


AMDG

fmingu wrote:
> I do not understand the sentence:
> Ignore the "conversion to unsigned int" part.
> As you know, I am a new comer and quite puzzled about that.
> Does that mean to change the complier enviroment?
> Can you give me an example?
>

I meant to say the the compiler's mentioning unsigned int is
nonsense. That part of the error message is useless. Don't
pay any attention to it. This part of my previous message is
not particularly important.

> ÔÚ2009-07-02£¬"Steven Watanabe" <watanabesj_at_[hidden]> дµÀ£º
>
>> fmingu wrote:
>>> But the complier told me that:
>>> cannot resolve overloaded function `pow' based on conversion to
>>> type `unsigned int'
>>>
>>>
>> Ignore the "conversion to unsigned int" part. The compiler
>> doesn't know how to handle std::pow and gets itself confused.
>> The problem is &std::pow, not the inner bind expression.
>>

In Christ,
Steven Watanabe


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