Repository navigation
Add README.md with an introduction to the library - #64
Merged
Merged
Conversation
Add a short front page for the GitHub repository, in the style of other Boost libraries such as Beast: - The Boost logo, title, and CI and documentation badges for master and develop. - What a circular buffer is, how boost::circular_buffer relates to the standard containers, the diagram from the documentation, and a short example (adapted from example/circular_buffer_example.cpp) that compiles as C++03 and C++17. - Features: header-only, C++03 onwards, fixed memory with no hidden allocation, STL compliance, contiguous storage, debug support, and the space-optimized variant. - Typical uses, and a note that the buffer is not thread-safe. - Getting started with CMake, the dependencies, links to the documentation and examples, building the tests with b2 or the standalone CMake build, git branches, contributing, and the license. Add the official Boost logo as doc/images/boost-logo.svg, copied from boostorg/website-v2-docs (antora-ui/src/img/boost-logo-transparent.svg). A local copy is used because GitHub often won't display SVGs linked from raw.githubusercontent.com. Its use follows the Boost Logo Policy: the library is part of Boost, the logo appears once and isn't altered, and the README credits The C++ Alliance.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #64 +/- ##
==========================================
Coverage ? 99.43%
==========================================
Files ? 10
Lines ? 4578
Branches ? 3358
==========================================
Hits ? 4552
Misses ? 23
Partials ? 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repository has no README, so its GitHub page opens on a bare file list. This adds a short, welcoming front page in the style of other Boost libraries such as Beast, adapted from the existing documentation.
Contents
masteranddevelop.boost::circular_bufferrelates tostd::dequeandstd::vector;example/circular_buffer_example.cpp.array_one,array_two,linearize);Boost logo
doc/images/boost-logo.svgis the official transparent logo, copied fromboostorg/website-v2-docs. It's stored in the repository because GitHub often won't display SVGs linked fromraw.githubusercontent.com.The Boost Logo Policy allows this without written approval, since the library is part of Boost. Its reproduction rules are followed: