$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [phoenix] adding const to member_variable bind
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-11-04 22:14:45
Steven Watanabe wrote:
> AMDG
>
> 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.
Thanks, Steven. Please feel free to apply the patch.
Regards,
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net