Re: [Spirit Development] Bug using Phoenix::new_ in Qi semantic actions.

Robert Nelson <[email protected]> Tue, 28 Dec 2010 12:05:04 -0700
Newsgroups gmane.comp.parsers.spirit.devel
Message-ID <[email protected]>
Yep, that fixed it.
Thanks
--Robert Nelson

On Tue, Dec 28, 2010 at 9:40 AM, Joel de Guzman
<[email protected]> wrote:
> On 12/28/2010 7:37 PM, Robert Nelson wrote:
>> #include<boost/spirit/include/qi.hpp>
>> #include<boost/spirit/home/phoenix/object/new.hpp>
>>
>> int main()
>> {
>>    using namespace boost::spirit::qi;
>>    using namespace boost::phoenix;
>>    boost::spirit::qi::rule<std::string::const_iterator,int*()>  rule = eps[_val = new_<int>(5)];
>> }
>
> Try including:
>
> #include <boost/spirit/home/phoenix/operator.hpp>
>
> Regards,
> --
> Joel de Guzman
> http://www.boostpro.com
> http://spirit.sf.net
>
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Spirit-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spirit-devel
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl