|
283 | 283 | respectively; |
284 | 284 |
|
285 | 285 | \item |
286 | | -if \tcode{T1} is ``pointer to member of \tcode{C1} of type \cvqual{cv1} U1'' and \tcode{T2} is |
287 | | -``pointer to member of \tcode{C2} of type \cvqual{cv2} U2'' where \tcode{C1} is |
| 286 | +if \tcode{T1} is ``pointer to member of \tcode{C1} of type \cvqual{cv1} \tcode{U1}'' and \tcode{T2} is |
| 287 | +``pointer to member of \tcode{C2} of type \cvqual{cv2} \tcode{U2}'' where \tcode{C1} is |
288 | 288 | reference-related to \tcode{C2} or \tcode{C2} is reference-related to |
289 | 289 | \tcode{C1}~(\ref{dcl.init.ref}), the cv-combined type of \tcode{T2} and \tcode{T1} or the cv-combined type |
290 | 290 | of \tcode{T1} and \tcode{T2}, respectively; |
|
699 | 699 | invented \grammarterm{template-parameter}. |
700 | 700 | \enterexample |
701 | 701 | \begin{codeblock} |
702 | | - auto glambda = [](auto a, auto&& b) { return a < b; }; |
| 702 | + auto glambda = [](auto a, auto&& b) { return a < b; }; |
703 | 703 | bool b = glambda(3, 3.14); // OK |
704 | 704 | auto vglambda = [](auto printer) { |
705 | 705 | return [=](auto&& ... ts) { // OK: \tcode{ts} is a function parameter pack |
|
760 | 760 | struct Closure { |
761 | 761 | template<class T> auto operator()(T t) const { ... } |
762 | 762 | template<class T> static auto lambda_call_operator_invoker(T a) { |
763 | | - // forwards execution to operator()(a) and therefore has |
| 763 | + // forwards execution to \tcode{operator()(a)} and therefore has |
764 | 764 | // the same return type deduced |
765 | 765 | ... |
766 | 766 | } |
|
4484 | 4484 | objects. \exitnote, or |
4485 | 4485 |
|
4486 | 4486 | \item |
4487 | | - a non-volatile glvalue of literal type that refers to a non-volatile object |
| 4487 | + a non-volatile glvalue that refers to a non-volatile object |
4488 | 4488 | defined with \tcode{constexpr}, or that refers to a non-mutable sub-object |
4489 | 4489 | of such an object, or |
4490 | 4490 |
|
|
4570 | 4570 | } |
4571 | 4571 | constexpr int f2(int k) { |
4572 | 4572 | int x = k; // OK: not required to be a constant expression |
4573 | | - // because \tcode{x} is not constexpr |
| 4573 | + // because \tcode{x} is not \tcode{constexpr} |
4574 | 4574 | return x; |
4575 | 4575 | } |
4576 | 4576 |
|
|
0 commit comments