summaryrefslogtreecommitdiff
path: root/ACE/ace/Unbounded_Set.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Unbounded_Set.inl')
-rw-r--r--ACE/ace/Unbounded_Set.inl23
1 files changed, 23 insertions, 0 deletions
diff --git a/ACE/ace/Unbounded_Set.inl b/ACE/ace/Unbounded_Set.inl
new file mode 100644
index 00000000000..363fe6e4a6d
--- /dev/null
+++ b/ACE/ace/Unbounded_Set.inl
@@ -0,0 +1,23 @@
+// -*- C++ -*-
+//
+// $Id$
+
+#include "ace/Global_Macros.h"
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+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..."
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL