3rdParty/boost/1.78.0/libs/mpl/doc/refmanual/joint-view.html
| Prev Next | Back Along | Up Home | Full TOC | Front Page / Sequences / Views / joint_view |
template<
typename Sequence1
, typename Sequence2
>
struct[joint\_view](./joint-view.html){
//_unspecified_//_..._};
A view into the sequence of elements formed by concatenating Sequence1 and Sequence2 elements.
#include <[boost/mpl/joint\_view.hpp](../../../../boost/mpl/joint_view.hpp)>
| Parameter | Requirement | Description |
|---|---|---|
| Sequence1, Sequence2 | Forward Sequence | Sequences to create a view on. |
The semantics of an expression are defined only where they differ from, or are not defined in Forward Sequence.
In the following table, v is an instance of joint_view, s1 and s2 are arbitrary Forward Sequences.
| Expression | Semantics |
|---|---|
[joint\_view](./joint-view.html)<s1,s2>[joint\_view](./joint-view.html)<s1,s2>::type
| A lazy Forward Sequence of all the elements in the ranges [begin<s1>::type, end<s1>::type), [begin<s2>::type, end<s2>::type). | | size<v>::type | The size of v; size<v>::value == size<s1>::value + size<s2>::value; linear complexity; see Forward Sequence. |
typedef[joint\_view](./joint-view.html)<[range\_c](./range-c.html)<int,0,10>
,[range\_c](./range-c.html)<int,10,15>
> numbers;[BOOST\_MPL\_ASSERT](./assert.html)(([equal](./equal.html)< numbers,[range\_c](./range-c.html)<int,0,15> > ));
Sequences, Views, filter_view, transform_view, zip_view, iterator_range
| Prev Next | Back Along | Up Home | Full TOC |
Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |