chunkedseq
container library for large in-memory data sets
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
fixedcapacity.hpp
Go to the documentation of this file.
1 
13 #include "fixedcapacitybase.hpp"
14 
15 #ifndef _PASL_DATA_FIXEDCAPACITY_H_
16 #define _PASL_DATA_FIXEDCAPACITY_H_
17 
18 namespace pasl {
19 namespace data {
20 namespace fixedcapacity {
21 
22 /***********************************************************************/
23 
24 /*---------------------------------------------------------------------*/
25 /* Heap-allocated fixed-capacity buffers */
26 
27 namespace heap_allocated {
28 
29  template <class Item, int Capacity, class Alloc = std::allocator<Item>>
31 
32  template <class Item, int Capacity, class Alloc = std::allocator<Item>>
34 
35  template <class Item, int Capacity, class Alloc = std::allocator<Item>>
37 
38  template <class Item, int Capacity, class Alloc = std::allocator<Item>>
40 
41 }
42 
43 /*---------------------------------------------------------------------*/
44 /* Inline-allocated fixed-capacity arrays */
45 
46 namespace inline_allocated {
47 
48  template <class Item, int Capacity, class Alloc = std::allocator<Item>>
50 
51  template <class Item, int Capacity, class Alloc = std::allocator<Item>>
53 
54  template <class Item, int Capacity, class Alloc = std::allocator<Item>>
56 
57 }
58 
59 /***********************************************************************/
60 
61 } // end namespace
62 } // end namespace
63 } // end namespace
64 
65 #endif
Implementations of various fixed-capacity buffers.
Definition: algebra.hpp:18
Fixed-capacity ring buffer, using indices.