Boost logo

Boost Users :

Subject: Re: [Boost-users] [phoenix] adding const to member_variable bind
From: Christian Henning (chhenning_at_[hidden])
Date: 2008-11-04 16:13:26

Thanks Steven, that worked. With your last statement I assume you mean
it should have worked even without the explicit cast. I had the same


On Tue, Nov 4, 2008 at 4:06 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> Christian Henning wrote:
>> My question is how can I convert or cast the "&point::_prob" into a
>> const reference?
> static_cast<const double point::*>(&point::_prob) should work, but really,
> this
> is a bug in phoenix. Patch against the trunk attached.
> In Christ,
> Steven Watanabe
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at