Skip to content

Commit 299f372

Browse files
burblebeetkoeppe
authored andcommitted
LWG3461 convertible_to's description mishandles cv-qualified void
1 parent 0194113 commit 299f372

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/concepts.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@
331331

332332
\pnum
333333
Given types \tcode{From} and \tcode{To} and
334-
an expression \tcode{E} such that
335-
\tcode{decltype((E))} is \tcode{add_rvalue_reference_t<From>},
334+
an expression \tcode{E}
335+
whose type and value category are the same as those of \tcode{declval<From>()},
336336
\tcode{\libconcept{convertible_to}<From, To>} requires \tcode{E}
337337
to be both implicitly and explicitly convertible to type \tcode{To}.
338338
The implicit and explicit conversions are required to produce equal

0 commit comments

Comments
 (0)