- delete copy constructor

- added free() method
- raise Exeption on write overflow

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@1010 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-17 07:49:56 +00:00
parent ae0e7a7915
commit 5bf1d7f8f8
2 changed files with 15 additions and 1 deletions
+2
View File
@@ -49,10 +49,12 @@ class Buffer : public IBuffer
};
Buffer(size_t capacity);
~Buffer();
Buffer(const Buffer<T> &rhs) = delete;
void resize(size_t size);
void fill(T value);
size_t len();
size_t free();
size_t capacity();
void clear();