summaryrefslogtreecommitdiff
path: root/TAO/tao/CORBA_String.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-07-28 08:28:33 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-07-28 08:28:33 +0000
commita7a3f30094c389870b4e1f817d7cca6c0b663e19 (patch)
tree287c236baa7aef12a87a7bee2623ab698da6a411 /TAO/tao/CORBA_String.h
parent207a63b15f4f6d7d3b66eb3a906ad00438e277e3 (diff)
downloadATCD-a7a3f30094c389870b4e1f817d7cca6c0b663e19.tar.gz
ChangeLogTag:Thu Jul 28 00:43:34 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/CORBA_String.h')
-rw-r--r--TAO/tao/CORBA_String.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/TAO/tao/CORBA_String.h b/TAO/tao/CORBA_String.h
index 3e193c437b4..dec64106c43 100644
--- a/TAO/tao/CORBA_String.h
+++ b/TAO/tao/CORBA_String.h
@@ -290,20 +290,25 @@ namespace CORBA
void operator= (const CORBA::WString_var &);
};
+} // End CORBA namespace.
+
+namespace TAO
+{
/**
- * @name TAO-specific Equality Operators
+ * @struct TAO-specific @c {W}String_var Equality Functor
*
- * These equality operators exist to simplify usage of @c
- * {W}String_var in containers.
+ * This functor exist to simplify usage of @c {W}String_var in
+ * containers.
*/
- //@{
- bool operator== (CORBA::String_var const & lhs,
- CORBA::String_var const & rhs);
- bool operator== (CORBA::WString_var const & lhs,
- CORBA::WString_var const & rhs);
- //@}
+ struct String_Var_Equal_To
+ {
+ bool operator() (CORBA::String_var const & lhs,
+ CORBA::String_var const & rhs) const;
-} // End CORBA namespace.
+ bool operator() (CORBA::WString_var const & lhs,
+ CORBA::WString_var const & rhs) const;
+ };
+}
# if !defined (ACE_LACKS_IOSTREAM_TOTALLY)