j
k
j a
j l
...How about : v = v; Ugly, since this means that any copy might trigger a sample.
How about : v = v;
How about :
v = v;
Ugly, since this means that any copy might trigger a sample.
Only self-copy : this_type& operator=(const this_type& source) { if (this == &source) { ...trigger sample... return *this; } ...normal assignment... return *this; }
Back to the thread
Back to the list