18
Concepts library
[concepts]
18.5
Comparison concepts
[concepts.compare]
18.5.1
General
[concepts.compare.general]
1
#
Subclause
[concepts.
compare]
describes concepts that establish relationships and orderings on values of possibly differing object types
.
2
#
Given an expression
E
and a type
C
, let
CONVERT_
TO_
LVALUE
<
C
>
(
E
)
be:
(2.1)
static_
cast
<
const
C
&
>
(
as_
const
(
E
)
)
if that is a valid expression, and
(2.2)
static_
cast
<
const
C
&
>
(
std
::
move
(
E
)
)
otherwise
.