28 this->name = that.
name;
34 this->name = that.name;
45 owner->print(
"iterator copy ctor");
49 owner->print(
"iterator move ctor");
55 owner->print(
"iterator copy assign");
56 this->owner = that.owner;
62 owner->print(
"iterator move assign");
63 this->owner = that.owner;
69 owner->print(
"iterator %d == %d", 2 - this->pos, 2 - that.pos);
70 return this->pos == that.pos;
74 owner->print(
"iterator %d != %d", 2 - this->pos, 2 - that.pos);
75 return this->pos == that.pos;
79 owner->print(
"iterator prefix ++");
85 owner->print(
"iterator postfix ++");
98 int result = (2 - this->pos) - (2 - that.pos);
104 owner->print(
"iterator advance: %i += %i", 2 - this->pos, steps);
119 void print(
const char *msg, ...)
const {
122 printf(
"[%s] ",
name);
119 void print(
const char *msg, ...)
const {
…}
133#pragma omp tile sizes(2, 2)
134 for (
auto it = A.begin(); it != A.end(); ++it)
135 for (
auto jt = B.
begin(); jt != B.
end(); ++jt)
136 printf(
"i=%d j=%d\n", *it, *jt);
__itt_string_handle * name
const Iterator & operator=(const Iterator &that)
bool operator==(const Iterator &that) const
Iterator operator+(int steps) const
Iterator(const Iterator &that)
Iterator(const Reporter *owner, int pos)
bool operator!=(const Iterator &that) const
size_t operator-(const Iterator &that) const
Iterator(Iterator &&that)
const Iterator & operator=(Iterator &&that)
void print(const char *msg,...) const
Reporter(Reporter &&that)
const Reporter & operator=(const Reporter &that)
const Reporter & operator=(Reporter &&that)
Reporter(const char *name)
Reporter(const Reporter &that)