24
Ranges library
[ranges]
24.3
Range access
[range.access]
24.3.8
ranges::crbegin
[range.access.crbegin]
1
#
The name
ranges
::
crbegin
denotes a customization point object (
[customization.
point.
object]
)
.
The expression
ranges
::
crbegin
(
E
)
for a subexpression
E
of type
T
is expression-equivalent to:
(1.1)
ranges
::
rbegin
(
static_cast
<
const
T
&
>
(
E
)
)
if
E
is an lvalue
.
(1.2)
Otherwise,
ranges
::
rbegin
(
static_cast
<
const
T
&
&
>
(
E
)
)
.
2
#
[
Note
1
:
Whenever
ranges
::
crbegin
(
E
)
is a valid expression, its type models
input_or_output_iterator
.
—
end note
]