2 ms·
for (int i=0; i<nn; i++) { distinct(*this, m.row(i), opt.ipl()); distinct(*this, m.col(i), opt.ipl()); } Weird way to use C++, passing *this to
by CamperBob2 1y ago
for (int i=0; i<nn; i++) {
distinct(*this, m.row(i), opt.ipl());
distinct(*this, m.col(i), opt.ipl());
}
Weird way to use C++, passing *this to everything explicitly, but maybe they have a reason.
- nurettin 1y agoQt does this as well. It is a common way of preserving a parent-child relationship.
- CamperBob2 1y agoHow does it do that?