pstore2
Public Types | Public Member Functions | List of all members
pstore::repo::container< ValueType > Class Template Reference

A simple wrapper around the elements of one of the three arrays that make up a section. More...

#include <section.hpp>

Public Types

using value_type = ValueType const
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using reference = ValueType const &
 
using const_reference = reference
 
using pointer = ValueType const *
 
using const_pointer = pointer
 
using iterator = const_pointer
 
using const_iterator = iterator
 

Public Member Functions

 container (const_pointer begin, const_pointer end)
 
iterator begin () const
 
iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_pointer data () const
 
size_type size () const noexcept
 
bool empty () const noexcept
 

Detailed Description

template<typename ValueType>
class pstore::repo::container< ValueType >

A simple wrapper around the elements of one of the three arrays that make up a section.

Enables the use of standard algorithms as well as range-based for loops on these collections.


The documentation for this class was generated from the following file: