Skip to content

Commit d589bed

Browse files
committed
Merge pull request cplusplus#420 from tkoeppe/indentdecl
[dcl.link] Fix indentation of example code
2 parents ac5c5dc + 668cad5 commit d589bed

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

source/declarations.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,21 +3257,21 @@
32573257
\begin{codeblock}
32583258
extern "C" typedef void FUNC_c();
32593259
class C {
3260-
void mf1(FUNC_c*); // the name of the function \tcode{mf1} and the member
3260+
void mf1(FUNC_c*); // the name of the function \tcode{mf1} and the member
32613261
// function's type have \Cpp language linkage; the
32623262
// parameter has type pointer to C function
3263-
FUNC_c mf2; // the name of the function \tcode{mf2} and the member
3263+
FUNC_c mf2; // the name of the function \tcode{mf2} and the member
32643264
// function's type have \Cpp language linkage
3265-
static FUNC_c* q; // the name of the data member \tcode{q} has \Cpp language
3265+
static FUNC_c* q; // the name of the data member \tcode{q} has \Cpp language
32663266
// linkage and the data member's type is pointer to
32673267
// C function
32683268
};
32693269

32703270
extern "C" {
32713271
class X {
3272-
void mf(); // the name of the function \tcode{mf} and the member
3272+
void mf(); // the name of the function \tcode{mf} and the member
32733273
// function's type have \Cpp language linkage
3274-
void mf2(void(*)()); // the name of the function \tcode{mf2} has \Cpp language
3274+
void mf2(void(*)()); // the name of the function \tcode{mf2} has \Cpp language
32753275
// linkage; the parameter has type pointer to
32763276
// C function
32773277
};

0 commit comments

Comments
 (0)