edits
[c11tester.git] / stl-model.h
index cefadcba762f24d54c6ba82e743ca7addecdac1c..77040e2c4d0dbc9e423b22e0a5d6712bab4ef469 100644 (file)
@@ -147,6 +147,10 @@ public:
   uint size() {
     return _size;
   }
+
+  bool empty() {
+    return _size == 0;
+  }
   
   MEMALLOC;
  private:
@@ -295,6 +299,9 @@ public:
   uint size() {
     return _size;
   }
+  bool empty() {
+    return _size == 0;
+  }
   
   SNAPSHOTALLOC;
  private: