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
commit72f31a3b615b4acf94b679a7f7a39204ace0c381 (patch)
treed2a03a59e7a8e39f4aeef13f0b7eb07b589b076c /ace/Unbounded_Set.inl
parent8f8a2ba51de660ba91df2342783c72a930e8b39a (diff)
downloadATCD-72f31a3b615b4acf94b679a7f7a39204ace0c381.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..."
+}