Hassan Syed
Hassan Syed

Reputation: 20485

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

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

Upvotes: 3

Views: 376

Answers (1)

hkaiser
hkaiser

Reputation: 11521

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

Upvotes: 4

Related Questions