1.

How Do I Compare References?

Answer»

Use is_equivalent(), but don't take it too seriously. This method never lies to you, if it SAYS two references are equivalent, then they are. But they might be equivalent but not identical and is_equivalent() can potentially return false. SEE the OCTOBER 1996 column by Steve Vinoski and Doug SCHMIDT in C++ Report.

Use is_equivalent(), but don't take it too seriously. This method never lies to you, if it says two references are equivalent, then they are. But they might be equivalent but not identical and is_equivalent() can potentially return false. See the October 1996 column by Steve Vinoski and Doug Schmidt in C++ Report.



Discussion

No Comment Found