Some ASSERT macros use const T where they should use const T&
description
From David Connet, Jan. 14, 2008:
"
I just ran into some issues using WIN_ASSERT_EQUAL - since the template
is defined as 'const T ...', this actually causes a copy constructor to
be invoked. I discovered this when using it to compare some boost smart
points on classes where all the ctors are protected. I can work around
it be doing "WIN_ASSERT_TRUE(*obj1 == *obj2);"
"