$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Matthias Schabel (boost_at_[hidden])
Date: 2007-02-17 01:20:44
>> 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;
}