Re: References get lost coming out of parser.

Joel de Guzman <[email protected]> Sun, 15 Dec 2019 10:18:58 +0800
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 15/12/2019 6:12 AM, Dan Bloomquist wrote:
> Dan Bloomquist wrote:
>> On the other hand, I would think there is a way to pass references. I do see T& in 
>> symbols but it gets messed by the deference even with std::ref. Over my head for now!
> 
> So, the answer was to just pass the whole object in and then do whatever. Much more 
> versatile that way, also. I've actually deployed the usage, the guy likes his new page. 
> This is an example:
> <https://github.com/lakeweb/stuff/blob/master/Sample.pdf>
> 
> The code, below. Next was to pass parameters to the operators, having the dollar 
> formatting hardwired is not going to cut it. Just added Seth's method of error handling 
> and it just worked!
> <https://github.com/lakeweb/stuff/blob/master/little_test.cpp>
> 
> I decided to delegate the parameter parsing 'on up', I think that's a good idea, keeps 
> maintenance simple.
> Thanks Joel, for a great library!

You are most welcome! I wish I can spend more time on it. Surely, thanks go
to the community for support and maintenance as well. Thank you very much!

Regards,
-- 
Joel de Guzman
http://www.ciere.com
http://boost-spirit.com
http://www.cycfi.com/