Skip to content

Commit 7f4e95e

Browse files
jensmaurerzygoloid
authored andcommitted
[support.srcloc] Fix comments in example.
1 parent d7fe087 commit 7f4e95e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/support.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3321,16 +3321,16 @@
33213321
source_location member = source_location::current();
33223322
int other_member;
33233323
s(source_location loc = source_location::current())
3324-
: member(loc) // values of \tcode{member} will be from call-site
3324+
: member(loc) // values of \tcode{member} refer to the location of the calling function\iref{dcl.fct.default}
33253325
{}
3326-
s(int blather) : // values of \tcode{member} should be hereabouts
3326+
s(int blather) : // values of \tcode{member} refer to this location
33273327
other_member(blather)
33283328
{}
3329-
s(double) // values of \tcode{member} should be hereabouts
3329+
s(double) // values of \tcode{member} refer to this location
33303330
{}
33313331
};
33323332
void f(source_location a = source_location::current()) {
3333-
source_location b = source_location::current(); // values in \tcode{b} represent this line
3333+
source_location b = source_location::current(); // values in \tcode{b} refer to this line
33343334
}
33353335

33363336
void g() {

0 commit comments

Comments
 (0)