File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18535,14 +18535,14 @@
18535
18535
18536
18536
static_assert( is_pointer_interconvertible_with_class( &C::b ) );
18537
18537
// Succeeds because, despite its appearance, \tcode{\&C::b} has type
18538
- // "pointer to member of \tcode{B} of type \tcode{int}."
18538
+ // "pointer to member of \tcode{B} of type \tcode{int}".
18539
18539
static_assert( is_pointer_interconvertible_with_class<C>( &C::b ) );
18540
18540
// Forces the use of class \tcode{C}, and fails.
18541
18541
18542
18542
static_assert( is_corresponding_member( &C::a, &C::b ) );
18543
18543
// Succeeds because, despite its appearance, \tcode{\&C::a} and \tcode{\&C::b} have types
18544
18544
// "pointer to member of \tcode{A} of type \tcode{int}" and
18545
- // "pointer to member of \tcode{B} of type \tcode{int}," respectively.
18545
+ // "pointer to member of \tcode{B} of type \tcode{int}", respectively.
18546
18546
static_assert( is_corresponding_member<C, C>( &C::a, &C::b ) );
18547
18547
// Forces the use of class \tcode{C}, and fails.
18548
18548
\end{codeblock}
You can’t perform that action at this time.
0 commit comments