emlabcpp
modern opinionated embedded C++ library
static_circular_buffer.h File Reference
#include "./iterator.h"
#include "./static_storage.h"
#include "./view.h"
#include <atomic>
#include <limits>
#include <ranges>
+ Include dependency graph for static_circular_buffer.h:

Go to the source code of this file.

Classes

struct  emlabcpp::_spacer_strategy< N >
 Strategy for managing indices in circular buffer via empty slot. More...
 
struct  emlabcpp::_overflow_strategy< N >
 Strategy for managing indices in circular buffer via overflowing indices. More...
 
struct  emlabcpp::static_circular_buffer< T, N, Strategy >
 Class implementing circular buffer of any type for up to N elements. More...
 
struct  std::iterator_traits< emlabcpp::static_circular_buffer_iterator< T > >
 
class  emlabcpp::static_circular_buffer_iterator< T >
 

Namespaces

 emlabcpp
 MIT License.
 

Functions

template<std::size_t N>
constexpr auto emlabcpp::_select_index_type ()
 
template<typename T , std::size_t N>
auto emlabcpp::_select_strategy ()
 
template<typename T , std::size_t N>
auto emlabcpp::operator<=> (static_circular_buffer< T, N > const &lh, static_circular_buffer< T, N > const &rh)
 
template<typename T , std::size_t N>
bool emlabcpp::operator== (static_circular_buffer< T, N > const &lh, static_circular_buffer< T, N > const &rh)
 
template<typename T , std::size_t N>
bool emlabcpp::operator!= (static_circular_buffer< T, N > const &lh, static_circular_buffer< T, N > const &rh)