Update of /cvsroot/mockpp/mockpp/mockpp/docs/en
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2482/mockpp/docs/en
Modified Files:
dev_advanced_jmock.docbook
Log Message:
added comparison template
Index: dev_advanced_jmock.docbook
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/docs/en/dev_advanced_jmock.docbook,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dev_advanced_jmock.docbook 26 Sep 2005 18:25:10 -0000 1.12
+++ dev_advanced_jmock.docbook 1 Oct 2005 16:38:46 -0000 1.13
@@ -212,6 +212,11 @@
don't want to compare the this helper but the shared object at the end of
the pointers.</para>
+<para>For a similar reason there is another templated function
+named <function>isEqualComparison</function>. Both functions are
+useful if you need to compare objects but can't or don't want to
+implement the according <function>operator==</function>.
+
<para>
<note>
<title>Potential backwards compatibility break</title>
|