diff --git a/src/private/flat_map_base.h b/src/private/flat_map_base.h
index 16fd8587..eb237767 100644
--- a/src/private/flat_map_base.h
+++ b/src/private/flat_map_base.h
@@ -97,72 +97,6 @@ namespace etl
public:
typedef size_t size_type;
-
- //*************************************************************************
- /// Gets the current size of the flat_map.
- ///\return The current size of the flat_map.
- //*************************************************************************
- size_type size() const
- {
- return vbase.size();
- }
-
- //*************************************************************************
- /// Checks the 'empty' state of the flat_map.
- ///\return true if empty.
- //*************************************************************************
- bool empty() const
- {
- return vbase.empty();
- }
-
- //*************************************************************************
- /// Checks the 'full' state of the flat_map.
- ///\return true if full.
- //*************************************************************************
- bool full() const
- {
- return vbase.full();
- }
-
- //*************************************************************************
- /// Returns the capacity of the flat_map.
- ///\return The capacity of the flat_map.
- //*************************************************************************
- size_type capacity() const
- {
- return vbase.capacity();
- }
-
- //*************************************************************************
- /// Returns the maximum possible size of the flat_map.
- ///\return The maximum size of the flat_map.
- //*************************************************************************
- size_type max_size() const
- {
- return vbase.max_size();
- }
-
- //*************************************************************************
- /// Returns the remaining capacity.
- ///\return The remaining capacity.
- //*************************************************************************
- size_t available() const
- {
- return vbase.available();
- }
-
- protected:
-
- //*************************************************************************
- /// Constructor.
- //*************************************************************************
- flat_map_base(vector_base& vbase)
- : vbase(vbase)
- {
- }
-
- vector_base& vbase;
};
}
diff --git a/src/private/flat_multimap_base.h b/src/private/flat_multimap_base.h
index eb9840f2..b9c0fc2b 100644
--- a/src/private/flat_multimap_base.h
+++ b/src/private/flat_multimap_base.h
@@ -83,72 +83,6 @@ namespace etl
public:
typedef size_t size_type;
-
- //*************************************************************************
- /// Gets the current size of the flat_multimap.
- ///\return The current size of the flat_multimap.
- //*************************************************************************
- size_type size() const
- {
- return vbase.size();
- }
-
- //*************************************************************************
- /// Checks the 'empty' state of the flat_multimap.
- ///\return true if empty.
- //*************************************************************************
- bool empty() const
- {
- return vbase.empty();
- }
-
- //*************************************************************************
- /// Checks the 'full' state of the flat_multimap.
- ///\return true if full.
- //*************************************************************************
- bool full() const
- {
- return vbase.full();
- }
-
- //*************************************************************************
- /// Returns the capacity of the flat_multimap.
- ///\return The capacity of the flat_multimap.
- //*************************************************************************
- size_type capacity() const
- {
- return vbase.capacity();
- }
-
- //*************************************************************************
- /// Returns the maximum possible size of the flat_multimap.
- ///\return The maximum size of the flat_multimap.
- //*************************************************************************
- size_type max_size() const
- {
- return vbase.max_size();
- }
-
- //*************************************************************************
- /// Returns the remaining capacity.
- ///\return The remaining capacity.
- //*************************************************************************
- size_t available() const
- {
- return vbase.available();
- }
-
- protected:
-
- //*************************************************************************
- /// Constructor.
- //*************************************************************************
- flat_multimap_base(vector_base& vbase)
- : vbase(vbase)
- {
- }
-
- vector_base& vbase;
};
}
diff --git a/src/private/flat_multiset_base.h b/src/private/flat_multiset_base.h
index 4b495ddf..3bcd337e 100644
--- a/src/private/flat_multiset_base.h
+++ b/src/private/flat_multiset_base.h
@@ -84,71 +84,14 @@ namespace etl
typedef size_t size_type;
- //*************************************************************************
- /// Gets the current size of the flat_multiset.
- ///\return The current size of the flat_multiset.
- //*************************************************************************
- size_type size() const
- {
- return vbase.size();
- }
-
- //*************************************************************************
- /// Checks the 'empty' state of the flat_multiset.
- ///\return true if empty.
- //*************************************************************************
- bool empty() const
- {
- return vbase.empty();
- }
-
- //*************************************************************************
- /// Checks the 'full' state of the flat_multiset.
- ///\return true if full.
- //*************************************************************************
- bool full() const
- {
- return vbase.full();
- }
-
- //*************************************************************************
- /// Returns the capacity of the flat_multiset.
- ///\return The capacity of the flat_multiset.
- //*************************************************************************
- size_type capacity() const
- {
- return vbase.capacity();
- }
-
- //*************************************************************************
- /// Returns the maximum possible size of the flat_multiset.
- ///\return The maximum size of the flat_multiset.
- //*************************************************************************
- size_type max_size() const
- {
- return vbase.max_size();
- }
-
- //*************************************************************************
- /// Returns the remaining capacity.
- ///\return The remaining capacity.
- //*************************************************************************
- size_t available() const
- {
- return vbase.available();
- }
-
protected:
//*************************************************************************
/// Constructor.
//*************************************************************************
- flat_multiset_base(vector_base& vbase)
- : vbase(vbase)
+ flat_multiset_base()
{
}
-
- vector_base& vbase;
};
}
diff --git a/src/private/flat_set_base.h b/src/private/flat_set_base.h
index 22d1c58f..d494cfb4 100644
--- a/src/private/flat_set_base.h
+++ b/src/private/flat_set_base.h
@@ -97,72 +97,6 @@ namespace etl
public:
typedef size_t size_type;
-
- //*************************************************************************
- /// Gets the current size of the flat_set.
- ///\return The current size of the flat_set.
- //*************************************************************************
- size_type size() const
- {
- return vbase.size();
- }
-
- //*************************************************************************
- /// Checks the 'empty' state of the flat_set.
- ///\return true if empty.
- //*************************************************************************
- bool empty() const
- {
- return vbase.empty();
- }
-
- //*************************************************************************
- /// Checks the 'full' state of the flat_set.
- ///\return true if full.
- //*************************************************************************
- bool full() const
- {
- return vbase.full();
- }
-
- //*************************************************************************
- /// Returns the capacity of the flat_set.
- ///\return The capacity of the flat_set.
- //*************************************************************************
- size_type capacity() const
- {
- return vbase.capacity();
- }
-
- //*************************************************************************
- /// Returns the maximum possible size of the flat_set.
- ///\return The maximum size of the flat_set.
- //*************************************************************************
- size_type max_size() const
- {
- return vbase.max_size();
- }
-
- //*************************************************************************
- /// Returns the remaining capacity.
- ///\return The remaining capacity.
- //*************************************************************************
- size_t available() const
- {
- return vbase.available();
- }
-
- protected:
-
- //*************************************************************************
- /// Constructor.
- //*************************************************************************
- flat_set_base(vector_base& vbase)
- : vbase(vbase)
- {
- }
-
- vector_base& vbase;
};
}