Boost logo

Boost Users :

Subject: Re: [Boost-users] A library for "string chains"?
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2014-08-21 03:29:21


On Thu, Aug 21, 2014 at 12:34 AM, Eric Niebler <eniebler_at_[hidden]> wrote:

> [...] What Boost.Range needs is an adaptor that flattens a range of ranges
> into a range.
>

FWIW, for a different perspective, this is what XPath2 implicitly does to
its sequences, because of rule#4 below. When switching from XPath1 to
XPath2, this is something that stuck in my mind, and worked surprisingly
well (for me). --DD

from http://en.wikipedia.org/wiki/XPath_2.0 :
1) Every value in XPath 2.0 is a *sequence* of *items*.
2) The items may be *nodes* or *atomic values*.
3) An individual node or atomic value is considered to be a sequence of
length one.
4) Sequences may not be nested



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net