Boost Users :
Subject: Re: [Boost-users] [phoenix] adding const to member_variable bind
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-04 16:06:57
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
is a bug in phoenix. Patch against the trunk attached.
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