$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Spirit.Qi] I want to modify _val, how?
From: HT4N - (ht4n_at_[hidden])
Date: 2009-11-23 04:49:04
So, I was able to modify _1 (type of struct ptnode) by using a functor() (e.g. [_val = func(x, _1)] where the function will take a reference of _1 and do some modification to it and return (typeof(_1)&).
Can we also modify _val placeholder on the fly through semantic action? i.e. once _val = _1 executed, then modify the _val object
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/