Repository navigation
Add CLAUDE.md with guidance for developers and AI assistants - #56
Open
nigels-com wants to merge 2 commits into
Open
nigels-com wants to merge 2 commits into
nigels-com wants to merge 2 commits into
Conversation
Document what the library is and how the repository is laid out, so contributors (human or AI) can get oriented without reading the 3000-line base.hpp first. Covers: - the two containers, and the hard requirements for C++03 support and backward compatibility - what each header, test file and build file is for, including the CB_CONTAINER / common.ipp pattern and Jamfile.v2 as the list of tests - how the code works: the storage pointers and wrapping arithmetic, the shared iterator template, BOOST_CB_ENABLE_DEBUG and BOOST_CB_TEST, the internal macros undefined at the end of circular_buffer.hpp, and how Boost.Move, allocator_access and BOOST_TRY are used - conventions: C++03 only with Boost.Config macros, minimal dependencies kept in sync across CMake and b2, self-contained headers, formatting, complete Doxygen sections on public API, the same API on both containers, and keeping the Quickbook snippet markers in the examples - testing: the lightweight_test pattern, what a change should be tested against, the b2 command CI uses, and a standalone build loop - git workflow: PRs target develop, and formatting changes go in their own commits
Describe how the documentation is built and maintained. Nothing in CI exercises the docs, so problems such as a broken import or snippet marker only appear when the release docs are built. Covers: - the toolchain (Quickbook, Doxygen and BoostBook, AutoIndex, BoostBook XSL) and the source each stage reads - where content lives: reference docs in the header comments, the narrative and release notes in circular_buffer.qbk, and code samples imported from the examples by their snippet markers - what a change needs: updated header comments, a release-notes entry, and new examples added to both example/jamfile.v2 and the .qbk - how to build the HTML and PDF from a superproject checkout, and the tools and user-config.jam this requires - known issues: no doc build in CI, release notes that stop at Boost 1.56, the obsolete Trac section, and a Doxygen macro list that lacks BOOST_NOEXCEPT but still has entries copied from Boost.Units
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.
Document what the library is and how the repository is laid out, so contributors (human or AI) can get oriented without reading the 3000-line base.hpp first.