Boost logo

Boost Users :

Subject: Re: [Boost-users] [Function] "constness" lost on Function Signature
From: nicolas david (ericnico.david_at_[hidden])
Date: 2011-02-09 05:06:18


> This is a compiler bug.

OK, thank you for the information

>
> bool static defaultFunctor(const int, float, float);
>
> is exactly equivalent to
>
> bool static defaultFunctor(int, float, float);
>

You're right. I shoul'd better try with some "pass by const reference" and use
struct or class on my example and not int/float

Nicolas David


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