diff --git a/doc/Doxyfile b/doc/Doxyfile index a57e929..0be52fd 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -1,6 +1,6 @@ # Doxygen configuration file. # -# Copyright (c) 2003-2007 Jan Gaspar +# Copyright (c) 2003-2008 Jan Gaspar # # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at diff --git a/doc/HOWTO-srcdoc b/doc/HOWTO-srcdoc index a846b48..cefeb42 100644 --- a/doc/HOWTO-srcdoc +++ b/doc/HOWTO-srcdoc @@ -2,7 +2,7 @@ # HOW-TO documentation about generating/updating source code documentation for # # the Circular Buffer library. # # # -# Copyright (c) 2007 Jan Gaspar # +# Copyright (c) 2003-2008 Jan Gaspar # # # # Use, modification, and distribution is subject to the Boost Software # # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # diff --git a/doc/Tidy.conf b/doc/Tidy.conf index 7e00237..a3da39c 100644 --- a/doc/Tidy.conf +++ b/doc/Tidy.conf @@ -1,6 +1,6 @@ # HTML Tidy configuration file. # -# Copyright (c) 2003-2007 Jan Gaspar +# Copyright (c) 2003-2008 Jan Gaspar # # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at diff --git a/doc/circular_buffer.html b/doc/circular_buffer.html index 7e2fda2..db95ec5 100644 --- a/doc/circular_buffer.html +++ b/doc/circular_buffer.html @@ -26,29 +26,82 @@
|
@@ -228,6 +281,9 @@ public:
const_array_range array_one() const;
const_array_range array_two() const;
pointer linearize();
+ bool is_linearized() const;
+ void rotate(const_iterator new_begin);
size_type size() const;
size_type max_size() const;
bool empty() const;
@@ -589,9 +645,9 @@ template <class T, class Alloc>
The
Bounded Buffer Example
@@ -997,6 +1053,27 @@ template <class T, class Alloc>
value_type)) nothing will be inserted and the size (as well as capacity) remains zero.
+ set_capacity(capacity_type)
+ method or you can use the other constructor with the capacity specified.
+ circular_buffer(capacity_type,
+ const allocator_type& alloc), set_capacity(capacity_type)
+ |
+ bool is_linearized()
+ const;+ + Is the circular_buffer linearized?
+
|
+
+ void rotate(const_iterator
+ new_begin);+ + Rotate elements in the circular_buffer.
+
+ A more effective implementation of
|
@@ -4618,6 +4871,9 @@ template <class T, class Alloc>