24
Ranges library
[ranges]
24.3
Range access
[range.access]
24.3.9
ranges::crend
[range.access.crend]
1
#
The name
ranges
::
crend
denotes a customization point object (
[customization.
point.
object]
)
.
The expression
ranges
::
crend
(
E
)
for a subexpression
E
of type
T
is expression-equivalent to:
(1.1)
ranges
::
rend
(
static_cast
<
const
T
&
>
(
E
)
)
if
E
is an lvalue
.
(1.2)
Otherwise,
ranges
::
rend
(
static_cast
<
const
T
&
&
>
(
E
)
)
.
2
#
[
Note
1
:
Whenever
ranges
::
crend
(
E
)
is a valid expression, the types
S
and
I
of the expressions
ranges
::
crend
(
E
)
and
ranges
::
crbegin
(
E
)
model
sentinel_for
<
S, I
>
.
—
end note
]