@@ -65,6 +65,15 @@ public:
{
return string(this->m_arr + pos, n);
}
+ const char* c_str(void) const noexcept
+ {
+ return this->data();
+ }
+ void clear(void)
+ inner_vector_type::clear();
+ this->push_back(0x00);
};
} // namespace types
@@ -273,6 +273,13 @@ public:
return size() == 0;
+ for (size_t i = 0; i < size(); ++i)
+ allocator_traits<allocator_type>::deconstruct(m_arr + i);
+ m_size = 0;
+
// TODO
// iterator_type r_start() noexcept;