Skip to content

Commit 3b259e7

Browse files
committed
FIXUP CWG2663: Fix \tcode in examples.
1 parent f29f723 commit 3b259e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarations.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7919,7 +7919,7 @@
79197919
struct D2 : C { };
79207920

79217921
struct D3 : D1, D2 {
7922-
using D1::i; // OK, equivalent to using \tcode{C::i}
7922+
using D1::i; // OK, equivalent to \tcode{using C::i}
79237923
using D1::i; // error: duplicate
79247924
using D2::i; // error: duplicate, also names \tcode{C::i}
79257925
};
@@ -8007,7 +8007,7 @@
80078007
using A::h; // error: conflicts
80088008
using B::x;
80098009
using A::x; // OK, hides \tcode{struct B::x}
8010-
using A::x; // OK, does not conflict with previous using \tcode{A::x}
8010+
using A::x; // OK, does not conflict with previous \tcode{using A::x}
80118011
x = 99; // assigns to \tcode{A::x}
80128012
struct x x1; // \tcode{x1} has class type \tcode{B::x}
80138013
}

0 commit comments

Comments
 (0)