26
Ranges library
[ranges]
26.6
Range factories
[range.factories]
26.6.2
Empty view
[range.empty]
26.6.2.1
Overview
[range.empty.overview]
1
#
empty_
view
produces a view of no elements of a particular type
.
2
#
[
Example
1
:
auto
e
=
views
::
empty
<
int
>
;
static_assert
(
ranges
::
empty
(
e
)
)
;
static_assert
(
0
=
=
e
.
size
(
)
)
;
—
end example
]