File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3366
3366
the result is
3367
3367
\tcode {v} (converted if necessary).
3368
3368
3369
- \pnum
3370
- If the value of \tcode {v} is a null pointer value in the pointer case,
3371
- the result is the null pointer value of type \tcode {T}.
3372
-
3373
3369
\pnum
3374
3370
If \tcode {T} is `` pointer to \cvqual {cv1} \tcode {B}'' and \tcode {v} has
3375
3371
type `` pointer to \cvqual {cv2} \tcode {D}'' such that \tcode {B} is a base
3376
3372
class of \tcode {D}, the result is a pointer to the unique \tcode {B}
3377
- subobject of the \tcode {D} object pointed to by \tcode {v}. Similarly, if
3373
+ subobject of the \tcode {D} object pointed to by \tcode {v}, or
3374
+ a null pointer value if \tcode {v} is a null pointer value.
3375
+ Similarly, if
3378
3376
\tcode {T} is `` reference to \cvqual {cv1} \tcode {B}'' and \tcode {v} has
3379
3377
type \cvqual {cv2} \tcode {D} such that \tcode {B} is a base class of
3380
3378
\tcode {D}, the result is the unique \tcode {B} subobject of the \tcode {D}
3400
3398
Otherwise, \tcode {v} shall be a pointer to or a glvalue of a polymorphic
3401
3399
type\iref {class.virtual }.
3402
3400
3401
+ \pnum
3402
+ If \tcode {v} is a null pointer value, the result is a null pointer value.
3403
+
3403
3404
\pnum
3404
3405
If \tcode {T} is `` pointer to \cv {} \tcode {void}'' , then the result
3405
3406
is a pointer to the most derived object pointed to by \tcode {v}.
You can’t perform that action at this time.
0 commit comments