Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2003-12-17 10:47:33


Darren Cook wrote:

> Joel de Guzman wrote:
>
>> Robert Ramey wrote:
>>
>>> Would it be possible that spirit 1.6 also be included in boost 1.31
>>> perhaps under different directory/namespace ?
>
>
> Hi Joel,
> I didn't see you directly answer this: could boost/spirit and
> boost/spirit.1.6 co-exist in boost 1.31?

Possible? I wouldn't say no. However, there are lots of things that
should be put into consideration. The first one that comes to my mind
is namespace and directory structure. I do not think that putting
1.6.1 in a different namespace and directory is a good idea. That
would hurt backward compatibility. v1.6 code should work as before.

I'm sure there are other issues as well. However, I won't close my
mind on the idea. If boost only had a *smart* configuration based
download such that when your compiler is VC6, a copy of Spirit 1.6
is sent instead, it would be ideal.

I'd like to hear what Hartmut, Dan, Martin, etc. think about this
idea.

> On a related question: I've now got a couple of parsers working using
> spirit 1.6 (once over the not-too-bad learning curve it is a pleasure to
> use by the way). When I upgrade to 1.31 is anything likely to break?

No.

> (assuming I'm using a compiler fully supported by 1.8). If so, keeping
> 1.6 around in boost 1.31 would be helpful for that reason also.

1.8 is fully backward compatible with 1.6 code. You need not do any
re-coding at all, unless you used some undocumented features.

<<Thanks for the compliment, BTW :)>>>

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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