# bc913/cpp_notes architecture

> Architecture diagram of the GitHub repository bc913/cpp_notes, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bc913/cpp_notes
- Repository: https://github.com/bc913/cpp_notes

## Overview

This is a personal C++ guidelines and examples repository, not a service with a user-facing runtime workflow. Its main runtime example exercises a custom tuple; the broader product is the collection of design/concurrency/template notes and Modern C++ Design book notes. The graph separates written guidance from header-only template utilities. Connections are shown only where the README or excerpted source supports them; unsampled note contents are not inferred.

Main entry points: [`src/bc_tuple.h`](https://github.com/bc913/cpp_notes/blob/master/src/bc_tuple.h) (Tuple), [`src/bc_type_traits.h`](https://github.com/bc913/cpp_notes/blob/master/src/bc_type_traits.h) (Type Traits), [`src/bc_type_list.h`](https://github.com/bc913/cpp_notes/blob/master/src/bc_type_list.h) (Type Lists), [`src/main.cpp`](https://github.com/bc913/cpp_notes/blob/master/src/main.cpp) (Tuple Demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_guidance["C++ Guidance"]
  node_notes["Practice Notes"]
  node_booknotes["Design Book Notes"]
end

subgraph group_templates["Template Utilities"]
  node_tuple["Tuple<br/>[bc_tuple.h]"]
  node_traits["Type Traits<br/>[bc_type_traits.h]"]
  node_typelist["Type Lists<br/>[bc_type_list.h]"]
  node_array["Fixed Array<br/>[array.h]"]
end

subgraph group_examples["Tuple Example"]
  node_tuple_example["Tuple Demo<br/>[main.cpp]"]
end

node_reader(("C++ Reader"))

node_reader -->|"consults"| node_notes
node_reader -->|"consults"| node_booknotes
node_tuple_example -->|"exercises"| node_tuple
node_tuple -->|"uses"| node_traits
node_typelist -->|"includes"| node_traits

click node_notes "https://github.com/bc913/cpp_notes/tree/master/notes"
click node_booknotes "https://github.com/bc913/cpp_notes/tree/master/books/modern_cpp_design"
click node_tuple "https://github.com/bc913/cpp_notes/blob/master/src/bc_tuple.h"
click node_traits "https://github.com/bc913/cpp_notes/blob/master/src/bc_type_traits.h"
click node_typelist "https://github.com/bc913/cpp_notes/blob/master/src/bc_type_list.h"
click node_array "https://github.com/bc913/cpp_notes/blob/master/src/array.h"
click node_tuple_example "https://github.com/bc913/cpp_notes/blob/master/src/main.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_notes,node_booknotes toneBlue
class node_tuple,node_traits,node_typelist,node_array toneAmber
class node_tuple_example toneMint
class node_reader toneIndigo
```

## Components

### C++ Guidance

- [Practice Notes](https://github.com/bc913/cpp_notes/tree/master/notes): `notes`
- [Design Book Notes](https://github.com/bc913/cpp_notes/tree/master/books/modern_cpp_design): `books/modern_cpp_design`

### Template Utilities

- [Tuple](https://github.com/bc913/cpp_notes/blob/master/src/bc_tuple.h): `src/bc_tuple.h`
- [Type Traits](https://github.com/bc913/cpp_notes/blob/master/src/bc_type_traits.h): `src/bc_type_traits.h`
- [Type Lists](https://github.com/bc913/cpp_notes/blob/master/src/bc_type_list.h): `src/bc_type_list.h`
- [Fixed Array](https://github.com/bc913/cpp_notes/blob/master/src/array.h): `src/array.h`

### Tuple Example

- [Tuple Demo](https://github.com/bc913/cpp_notes/blob/master/src/main.cpp): `src/main.cpp`

### Other components

- **C++ Reader**

## Connections

- C++ Reader → Practice Notes: consults (evidence: `README.md`)
- C++ Reader → Design Book Notes: consults (evidence: `README.md`)
- Tuple Demo → Tuple: exercises (evidence: `src/main.cpp`)
- Tuple → Type Traits: uses (evidence: `src/bc_tuple.h`)
- Type Lists → Type Traits: includes (evidence: `src/bc_type_list.h`)
