Re: Phoenix Example problem
"Fletcher, John P" <[email protected]> Mon, 2 Jul 2012 07:33:26 +0000
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <752EB26CA34754409666BDDCE65E4F9950412341@exch-mb-g50-01.campus.aston.ac.uk> |
Thomas Thank you for the information. Is it a simple patch you could post so that I can patch my installations of 1.49.0 and (presumably) 1.50.0? I had found phoenix::detail::expression::function_eval while searching the code and also the table at http://boost-sandbox.sourceforge.net/libs/phoenix/doc/html/phoenix/inside/rules.html so I thought it was supposed to exist. Thanks John ________________________________________ From: Thomas Heller [[email protected]] Sent: 02 July 2012 07:32 To: Joel de Guzman Cc: Fletcher, John P; Spirit Development; Thomas Heller Subject: Re: Phoenix Example problem On 07/02/2012 01:56 AM, Joel de Guzman wrote: > On 7/1/2012 8:21 PM, Fletcher, John P wrote: >> Joel >> >> I am having a problem compiling the example container_actor.cpp which >> is in the Phoenix >> manual and also the examples. I have been compiling it with g++ >> 4.4.3 and also with >> clang 3.1 and neither works. The clang error messages look like this: > > I could repro the problem. Thomas, what is phoenix::expression::function? Thanks for bringing it to my attention. Fixed on trunk. phoenix::expression::function is supposed to be a struct responsible for creating expression template objects and calculating the expression template type for a phoenix function expression. Looks like i just forgot to alias it ... there was already a phoenix::detail::expression::function_eval which is part of the core, and used in a variety of places (for example bind). more information about these expression types can be found here: http://boost-sandbox.sourceforge.net/libs/phoenix/doc/html/phoenix/inside/expression.html and here: http://boost-sandbox.sourceforge.net/libs/phoenix/doc/html/phoenix/inside/rules.html > > Regards, ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/