File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3321
3321
source_location member = source_location::current();
3322
3322
int other_member;
3323
3323
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 }
3325
3325
{}
3326
- s(int blather) : // values of \tcode {member} should be hereabouts
3326
+ s(int blather) : // values of \tcode {member} refer to this location
3327
3327
other_member(blather)
3328
3328
{}
3329
- s(double) // values of \tcode {member} should be hereabouts
3329
+ s(double) // values of \tcode {member} refer to this location
3330
3330
{}
3331
3331
};
3332
3332
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
3334
3334
}
3335
3335
3336
3336
void g() {
You can’t perform that action at this time.
0 commit comments