summaryrefslogtreecommitdiff
path: root/ace/Unbounded_Set.inl
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-26 21:18:51 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-26 21:18:51 +0000
commitdc7b47e328ac184eed767b8287f918a46eb5d68e (patch)
treed2a03a59e7a8e39f4aeef13f0b7eb07b589b076c /ace/Unbounded_Set.inl
parent91a94f0f3fa63a897d5556805a23dee7a8bba7fb (diff)
downloadATCD-dc7b47e328ac184eed767b8287f918a46eb5d68e.tar.gz
ChangeLogTag:Mon Mar 26 13:00:37 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/Unbounded_Set.inl')
-rw-r--r--ace/Unbounded_Set.inl16
1 files changed, 16 insertions, 0 deletions
diff --git a/ace/Unbounded_Set.inl b/ace/Unbounded_Set.inl
new file mode 100644
index 00000000000..3f71cd2b498
--- /dev/null
+++ b/ace/Unbounded_Set.inl
@@ -0,0 +1,16 @@
+/* -*- C++ -*- */
+// $Id$
+
+template <class T> ACE_INLINE int
+ACE_Unbounded_Set<T>::is_empty (void) const
+{
+ ACE_TRACE ("ACE_Unbounded_Set<T>::is_empty");
+ return this->head_ == this->head_->next_;
+}
+
+template <class T> ACE_INLINE int
+ACE_Unbounded_Set<T>::is_full (void) const
+{
+ ACE_TRACE ("ACE_Unbounded_Set<T>::is_full");
+ return 0; // We should implement a "node of last resort for this..."
+}