# circular_buffer **Repository Path**: equationzhao/circular_buffer ## Basic Information - **Project Name**: circular_buffer - **Description**: Container & Adaptor for cplusplus - **Primary Language**: C++ - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-22 - **Last Updated**: 2023-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Circular Buffer ## [![Repography logo](https://images.repography.com/logo.svg)](https://repography.com) / Structure [![Structure](https://images.repography.com/35290882/Equationzhao/circular_buffer/structure/Kw0qpk2O0QP-Y_5yMrc8XljftmpB_-XngiK5JZV-uQ4/e9yxm9er02dfrnLCaEg7TMmNPTaEXOqv47cVuoKgB8s_table.svg)](https://github.com/Equationzhao/circular_buffer) ## This is a tiny c++ implementation of circular buffer (Circular linked list based). ## Features - *Header Only* - iterator support - constexpr support (in process) - user-defined allocator support - user-defined deleter support (in process) - module support (in process) - concept support (in process) - ranges support - initialization_list support (in process) ## Support Modifiers/Member access/Operators * insert/emplace * push * assign (in process) * write * read * at * operator [ ] * iterators : * iterator * const_iterator * circular_iterator * reverse_iterator (in process) * const_reverse_iterator (in process) * swap * sort (in process) * <=> * clear (in process) * resize (in process) * . . . ## TODO LIST for now * [// ? compare the T data it contains or test are they actually the "same object"](https://github.com/Equationzhao/circle_buffer/blob/9159b6e2eca5607fd9063f3a8db61c05f09d8187/circular_buffer.h#L85) Design Problem? * test Iterators * Finish const_iterator / reversed_iterator (s)