Update of /cvsroot/mockpp/mockpp/mockpp/constraint
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31256/mockpp/constraint
Modified Files:
IsEqual.h IsSame.h
Log Message:
docs
Index: IsSame.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/constraint/IsSame.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- IsSame.h 23 Sep 2005 20:55:34 -0000 1.19
+++ IsSame.h 23 Sep 2005 21:32:38 -0000 1.20
@@ -47,7 +47,7 @@
* The default implementation compares the adresses of the two
* objects.
* @ingroup grp_constraint
- * @see mockpp::same
+ * @see mockpp::IsSame
* @param left left operand
* @param right right operand
* @return true if both operands are equal
@@ -60,10 +60,13 @@
/** Is the value the same object as another value?
- * Basically the same as IsEqual because there is no reasonable
- * distinction in C++ as opposed to Java.
+ * Basically the same as \c IsEqual which compares with a value.
+ * \c IsSame compares by reference and a comparison template which can be
+ * specialized.
* @ingroup grp_constraint
* @see mockpp::same
+ * @see mockpp::IsEqual
+ * @see mockpp::isSameComparison
*/
template <typename T>
class IsSame : public Constraint<T>
Index: IsEqual.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/constraint/IsEqual.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- IsEqual.h 30 Jan 2005 12:09:18 -0000 1.19
+++ IsEqual.h 23 Sep 2005 21:32:38 -0000 1.20
@@ -44,9 +44,11 @@
/** Is the value equal to another value, as tested by the
- * invoked method?
+ * invoked method? Basically the same as \c IsSame which compares
+ * by reference and a specializable comparison template.
* @ingroup grp_constraint
* @see mockpp::eq( const T& op )
+ * @see mockpp::IsSame
*/
template <typename T>
class IsEqual : public Constraint<T>
|