pstore2
Classes | Functions
small_vector.hpp File Reference

Provides a small, normally stack allocated, buffer but which can be resized dynamically when necessary. More...

#include <array>
#include <cstddef>
#include <initializer_list>
#include <vector>
#include "pstore/adt/pointer_based_iterator.hpp"
#include "pstore/support/assert.hpp"
#include "pstore/support/inherit_const.hpp"
Include dependency graph for small_vector.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pstore::small_vector< ElementType, BodyElements >
 A class which provides a vector-like interface to a small, normally stack allocated, buffer which may, if necessary, be resized. More...
 

Functions

template<typename ElementType , std::size_t LhsBodyElements, std::size_t RhsBodyElements>
bool pstore::operator== (small_vector< ElementType, LhsBodyElements > const &lhs, small_vector< ElementType, RhsBodyElements > const &rhs)
 
template<typename ElementType , std::size_t LhsBodyElements, std::size_t RhsBodyElements>
bool pstore::operator!= (small_vector< ElementType, LhsBodyElements > const &lhs, small_vector< ElementType, RhsBodyElements > const &rhs)
 

Detailed Description

Provides a small, normally stack allocated, buffer but which can be resized dynamically when necessary.