Fix for VC6, updated TODO, source formatting.

[SVN r2592]
This commit is contained in:
Jan Gaspar
2005-04-27 10:44:44 +00:00
parent 5ead7ec3fa
commit 39f497ee19
18 changed files with 677 additions and 629 deletions

View File

@@ -42,7 +42,7 @@ public:
Integer(int i) : m_pValue(new int(i)) { check_exception(); }
Integer(const Integer& src) : m_pValue(new int(src)) { check_exception(); }
~Integer() { delete m_pValue; }
Integer& operator = (const Integer& src) {
Integer& operator = (const Integer& src) {
if (this == &src)
return *this;
check_exception();
@@ -88,7 +88,7 @@ private:
public:
typedef typename boost::circular_buffer<T>::iterator iterator;
typedef typename boost::circular_buffer<T>::size_type size_type;
Adaptor(size_type capacity) : m_buff(capacity) {}
template <class InputIterator>
Adaptor(size_type capacity, InputIterator first, InputIterator last)
@@ -99,7 +99,7 @@ public:
size_type size() const { return m_buff.size(); }
size_type capacity() const { return m_buff.capacity(); }
T& operator [] (size_type index) { return m_buff[index]; }
template <class InputIterator>
void insert(iterator pos, InputIterator first, InputIterator last) {
size_type new_size = size() + distance(first, last);