Skip to content

Commit 42dea2e

Browse files
momo773510Lancern
andauthored
Update src/content/docs/cpp/language/exceptions/catch.mdx
fixed indented problem Co-authored-by: Sirui Mu <msrlancern@gmail.com>
1 parent 65d656b commit 42dea2e

File tree

1 file changed

+9
-9
lines changed
  • src/content/docs/cpp/language/exceptions

1 file changed

+9
-9
lines changed

src/content/docs/cpp/language/exceptions/catch.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ An <DocLink dest="/cpp/language/exceptions">exception</DocLink> can be handled b
5757
</ParamDoc>
5858
</ParamDocList>
5959

60-
The parameter declaration in a handler describes the type(s) of exceptions that can cause that handler to be entered.
60+
The parameter declaration in a handler describes the type(s) of exceptions that can cause that handler to be entered.
6161

62-
If the parameter is declared to have one of the following types, the program is ill-formed:
62+
If the parameter is declared to have one of the following types, the program is ill-formed:
6363

64-
- an <DocLink dest="/cpp/language/basic_concepts/definition#Incomplete_type">incomplete type</DocLink>
65-
- an <DocLink dest="/cpp/language/classes#Abstract_classes">abstract class type</DocLink>
66-
- an <DocLink dest="/cpp/language/reference#Rvalue_reference"><Revision since="C++11">rvalue reference type</Revision></DocLink>
67-
- a pointer to an incomplete type other than (possibly cv-qualified) `void`
68-
- an lvalue reference to an incomplete type
64+
- an <DocLink dest="/cpp/language/basic_concepts/definition#Incomplete_type">incomplete type</DocLink>
65+
- an <DocLink dest="/cpp/language/classes#Abstract_classes">abstract class type</DocLink>
66+
- an <DocLink dest="/cpp/language/reference#Rvalue_reference"><Revision since="C++11">rvalue reference type</Revision></DocLink>
67+
- a pointer to an incomplete type other than (possibly cv-qualified) `void`
68+
- an lvalue reference to an incomplete type
6969

70-
If the parameter is declared to have type “array of `T`” or function type `T`, the type is adjusted to “pointer to `T`”.
70+
If the parameter is declared to have type “array of `T`” or function type `T`, the type is adjusted to “pointer to `T`”.
7171

72-
A handler with parameter type `T` can be abbreviated as “a handler of type `T`”.
72+
A handler with parameter type `T` can be abbreviated as “a handler of type `T`”.
7373

7474
### Matching exceptions
7575

0 commit comments

Comments
 (0)