mirror of
https://github.com/boostorg/phoenix.git
synced 2026-02-18 14:22:09 +00:00
Fixes for bug 9113
This commit is contained in:
@@ -22,7 +22,7 @@ namespace boost { namespace phoenix
|
||||
struct visit_each_impl
|
||||
{
|
||||
Visitor& visitor;
|
||||
visit_each_impl(Visitor& visitor ) : visitor(visitor) {}
|
||||
visit_each_impl(Visitor& visitor_ ) : visitor(visitor_) {}
|
||||
|
||||
template <typename T>
|
||||
void operator()(T const& t) const
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace boost { namespace phoenix
|
||||
: f()
|
||||
{}
|
||||
|
||||
BOOST_CONSTEXPR function(F f)
|
||||
: f(f)
|
||||
BOOST_CONSTEXPR function(F f_)
|
||||
: f(f_)
|
||||
{}
|
||||
|
||||
template <typename Sig>
|
||||
|
||||
@@ -43,8 +43,8 @@ namespace boost { namespace phoenix
|
||||
template <typename Do>
|
||||
struct do_while_gen
|
||||
{
|
||||
do_while_gen(Do const& do_)
|
||||
: do_(do_) {}
|
||||
do_while_gen(Do const& do_it)
|
||||
: do_(do_it) {}
|
||||
|
||||
template <typename Cond>
|
||||
typename expression::do_while<Cond, Do>::type const
|
||||
|
||||
@@ -56,17 +56,17 @@ namespace boost { namespace phoenix
|
||||
template <typename Init, typename Cond, typename Step>
|
||||
struct for_gen
|
||||
{
|
||||
for_gen(Init const& init, Cond const& cond, Step const& step)
|
||||
: init(init), cond(cond), step(step) {}
|
||||
for_gen(Init const& init_, Cond const& cond_, Step const& step_)
|
||||
: init(init_), cond(cond_), step(step_) {}
|
||||
|
||||
template <typename Do>
|
||||
typename expression::for_<Init, Cond, Step, Do>::type const
|
||||
operator[](Do const& do_) const
|
||||
operator[](Do const& do_it) const
|
||||
{
|
||||
return
|
||||
expression::
|
||||
for_<Init, Cond, Step, Do>::
|
||||
make(init, cond, step, do_);
|
||||
make(init, cond, step, do_it);
|
||||
}
|
||||
|
||||
Init init;
|
||||
|
||||
Reference in New Issue
Block a user