|
CPPX 3.1.6
A Modern C++ Utility Library
|
feature/my-feature)test_suite/cmake --build build) — this auto-formats and runs testsmainKeep PRs focused on one thing.
CPPX is designed to grow. To add a new structure:
include/cppx.h (or a new header).tpp file in src/ and #include it at the bottom of the headertest_suite/<structure>_test_cases.cpp with Google Test casesbenchmarks/benchmark_main.cppmain, then run ./scripts/ppa-upload.sh| File Type | Purpose |
|---|---|
.h (in include/) | Class declarations |
.tpp (in src/) | Template implementations (included at bottom of .h) |
.cpp (in test_suite/) | Unit tests (Google Test) |
| Entity | Style | Example |
|---|---|---|
| Classes | PascalCase | BinaryTree, AVLTree |
| Files | snake_case | binary_tree.tpp |
| Functions | snake_case | get_min(), insert_iterative() |
| Members | Prefixed | m_data, p_head |
namespace stl_extNodePool (arena allocator) — no raw new/deletestd::unique_ptr) — the arena owns all memoryusing namespace std; in headers.tpp files, not .cppOpen an issue or email via Code of Conduct.