Boost Phoenix (or Boost Lambda) - taking a pointer lazily

389 Views Asked by At

Is there a way of taking a pointer of a lazy phoenix value / ref ? If so how ?

1

There are 1 best solutions below

1
On BEST ANSWER

Phoenix placeholders overload operator&(), therefore a simple &_1 should do the trick (see Phoenix docs here).