From d649fd7a89a2fdcac8af4df295fbdc43eca0faec Mon Sep 17 00:00:00 2001 From: Jan Gaspar Date: Tue, 15 Mar 2005 17:24:27 +0000 Subject: [PATCH] Template parameters finished. [SVN r2533] --- doc/circular_buffer.html | 43 ++++++++++------------- doc/circular_buffer.xslt | 8 ++++- doc/circular_buffer_space_optimized.html | 5 +-- doc/circular_buffer_space_optimized.xslt | 15 ++++++-- doc/doxygen2html.xslt | 35 +++++++++++++----- include/boost/circular_buffer/adaptor.hpp | 1 + include/boost/circular_buffer/base.hpp | 1 + 7 files changed, 66 insertions(+), 42 deletions(-) diff --git a/doc/circular_buffer.html b/doc/circular_buffer.html index f35c00c..74e9d48 100644 --- a/doc/circular_buffer.html +++ b/doc/circular_buffer.html @@ -111,7 +111,7 @@
 namespace boost {
 
-template <class T, class Alloc>
+template <class T, class Alloc>
 class circular_buffer
 {
 public:
@@ -301,53 +301,46 @@ template
       Template Parameters
     
     
- +
+ + + + + + +
ParameterDescriptionDefault
- + T The type of the elements stored in the circular buffer.  
- + Alloc The allocator type used for all internal memory management. + std::allocator<T> +
- - - - - - - - - - - - - - - - -
- Parameter - Description - Default
TThe type of the elements stored in the circular buffer. 
AllocThe allocator type used for all internal memory management.std::allocator<T>

Public Types

- +
+ + + +
TypeDescription
diff --git a/doc/circular_buffer.xslt b/doc/circular_buffer.xslt index 6b343a6..4680036 100644 --- a/doc/circular_buffer.xslt +++ b/doc/circular_buffer.xslt @@ -10,7 +10,13 @@ Author: Jan Gaspar (jano_gaspar[at]yahoo.com) - + + + + + + + diff --git a/doc/circular_buffer_space_optimized.html b/doc/circular_buffer_space_optimized.html index 4c65163..be1d3a2 100644 --- a/doc/circular_buffer_space_optimized.html +++ b/doc/circular_buffer_space_optimized.html @@ -66,7 +66,7 @@
 namespace boost {
 
-template <class T, class Alloc>
+template <class T, class Alloc>
 class circular_buffer_space_optimized
 {
 public:
@@ -123,8 +123,6 @@ public:
    size_type max_size() const;
    size_type min_capacity() const;
    circular_buffer<T,Alloc>& operator=(const circular_buffer<T,Alloc>& cb);
-   value_type operator[](size_type n) const;
-   reference operator[](size_type n);
    value_type operator[](size_type index) const;
    reference operator[](size_type index);
    void pop_back();
@@ -146,7 +144,6 @@ public:
    void set_capacity(size_type new_capacity, bool remove_front = true);
    void set_min_capacity(size_type new_min_capacity);
    size_type size() const;
-   void swap(circular_buffer_space_optimized& cb);
    void swap(circular_buffer& cb);
 };
 
diff --git a/doc/circular_buffer_space_optimized.xslt b/doc/circular_buffer_space_optimized.xslt
index 9045382..8af0e53 100644
--- a/doc/circular_buffer_space_optimized.xslt
+++ b/doc/circular_buffer_space_optimized.xslt
@@ -13,7 +13,15 @@ Author: Jan Gaspar (jano_gaspar[at]yahoo.com)
   
   
 
-  
+  
+    
+      
+        
+      
+    
+  
+
+  
     
     
       
@@ -32,10 +40,11 @@ Author: Jan Gaspar (jano_gaspar[at]yahoo.com)
   
   
     
-    
+    
+    
       
       
-        
+        
           
         
         
diff --git a/doc/doxygen2html.xslt b/doc/doxygen2html.xslt
index 8d77785..9673e66 100644
--- a/doc/doxygen2html.xslt
+++ b/doc/doxygen2html.xslt
@@ -9,6 +9,7 @@
   
   
   
+  Default: 
   1.4.1
   
   
@@ -85,11 +86,11 @@
 
 namespace boost {
 
-template < >
+template <>
 class 
 {
 public:
-
+
 
 
   
@@ -106,6 +107,11 @@ public:
     
   
   
+  
+    
+     
+  
+  
   
     
        typedef 
@@ -165,12 +171,14 @@ public:
   
   
     
- +
+
ParameterDescriptionDefault
- +
+ @@ -191,14 +199,23 @@ public: - + + + + + + + + + + + - + + + diff --git a/include/boost/circular_buffer/adaptor.hpp b/include/boost/circular_buffer/adaptor.hpp index 93ae54b..2580fc1 100644 --- a/include/boost/circular_buffer/adaptor.hpp +++ b/include/boost/circular_buffer/adaptor.hpp @@ -20,6 +20,7 @@ namespace boost { \brief Space optimized circular buffer container adaptor. \param T The type of the elements stored in the space optimized circular buffer. \param Alloc The allocator type used for all internal memory management. + Default: std::allocator \author Jan Gaspar \version 1.3 \date 2004 diff --git a/include/boost/circular_buffer/base.hpp b/include/boost/circular_buffer/base.hpp index 65b4ee2..8ee9336 100644 --- a/include/boost/circular_buffer/base.hpp +++ b/include/boost/circular_buffer/base.hpp @@ -32,6 +32,7 @@ namespace boost { \brief Circular buffer - a STL compliant container. \param T The type of the elements stored in the circular buffer. \param Alloc The allocator type used for all internal memory management. + Default: std::allocator \author Jan Gaspar \version 3.6 \date 2004
TypeDescription
-
 
- -