23
Ranges library
[ranges]
23.7
Range adaptors
[range.adaptors]
23.7.10
Common view
[range.common]
23.7.10.3
view::common
[range.common.adaptor]
1
#
The name
view
:
:
common
denotes a
range adaptor object
.
For some subexpression
E
, the expression
view
:
:
common
(
E
)
is expression-equivalent to:
(1.1)
view
:
:
all
(
E
)
, if
decltype
(
(
E
)
)
models
CommonRange
and
view
:
:
all
(
E
)
is a well-formed expression
.
(1.2)
Otherwise,
common_view
{
E
}
.