From 67fb64813ea53a01e8035c4b8c093c8b776c5ee2 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Tue, 22 Mar 2022 11:01:38 +0100 Subject: [PATCH] [expr.cast] Clarify ambiguous static_cast/const_cast --- source/expressions.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/expressions.tex b/source/expressions.tex index 6710c39aeb..09279e082d 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -5863,10 +5863,10 @@ If a conversion can be interpreted in more than one of the ways listed above, the interpretation that appears first in the list is used, even -if a cast resulting from that interpretation is ill-formed. If a -conversion can be interpreted in more than one way as a -\keyword{static_cast} followed by a \keyword{const_cast}, the conversion is -ill-formed. +if a cast resulting from that interpretation is ill-formed. +If a \keyword{static_cast} followed by a \keyword{const_cast} is used +and the conversion can be interpreted in more than one way as such, +the conversion is ill-formed. \begin{example} \begin{codeblock} struct A { };