Boost logo

Boost :

Subject: Re: [boost] Search a vector of tuples?
From: Daniel James (dnljms_at_[hidden])
Date: 2012-04-23 19:19:01


On 23 April 2012 22:55, Robert Dailey <rcdailey.lists_at_[hidden]> wrote:
> On Mon, Apr 23, 2012 at 4:50 PM, Nathan Ridge <zeratul976_at_[hidden]>wrote:
>
>>
>> > I'm including
>> > <boost/spirit/include/phoenix1.hpp>. I hope that's right.
>>
>> That's an old version of phoenix (phoenix v1).
>>
>> Try <boost/spirit/include/phoenix.hpp>, which includes
>> phoenix v2.
>
> I included that one first, but it said it was deprecated and to use the v1
> header.

You probably used <boost/spirit/phoenix.hpp>, which was the deprecated
v1 header. It suggested using <boost/spirit/include/phoenix1.hpp>
instead, but that message was intended for existing v1 code.
<boost/spirit/include/phoenix.hpp> is the correct v2 header. It was a
bit confusing during the transition to the new directory structure.

Here's the page from the spirit documentation which describes the
header structure:

http://www.boost.org/libs/spirit/doc/html/spirit/structure/include.html


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk