# rutura/the-c-20-masterclass-source-code architecture

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

- Interactive diagram: https://gitdiagram.com/rutura/the-c-20-masterclass-source-code
- Repository: https://github.com/rutura/the-c-20-masterclass-source-code

## Overview

This repository is a C++20 masterclass source collection: its product is a sequence of small, largely independent programs that demonstrate language concepts, not a single application pipeline. The tree spans fundamentals through STL, ranges, and custom iterators. The README provides only the project title, and most examples were not sampled, so the graph groups lessons by subject rather than asserting connections between them. The inheritance excerpts do show derived constructors delegating to base constructors; those relationships are represented below.

Main entry points: [`36.Inheritance`](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/36.Inheritance) (Inheritance examples)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_fundamentals["C++ fundamentals"]
  node_first_steps["First programs<br/>[03.FirstSteps]"]
  node_variables_ops["Values and operations"]
end

subgraph group_core["Core language"]
  node_expressions["Expressions and conversions"]
  node_constants_bits["Constants and bits"]
  node_flow_loops["Flow and loops<br/>[10.FlowControl]"]
end

subgraph group_memory["Memory and types"]
  node_arrays["Arrays<br/>[12.Arrays]"]
  node_pointers["Pointers and allocation<br/>[13.Pointers]"]
  node_references["References<br/>[14.References]"]
  node_smart_pointers["Smart pointers<br/>[33.SmartPointers]"]
end

subgraph group_abstraction["Functions and abstraction"]
  node_functions["Functions<br/>[16.Functions]"]
  node_arguments_returns["Arguments and results"]
  node_overloads_lambdas["Overloads and lambdas"]
  node_inheritance["Inheritance examples<br/>[36.Inheritance]"]
  node_exceptions_templates["Exceptions and templates<br/>[38.Exceptions]"]
end

subgraph group_libraries["Standard library"]
  node_strings["Strings and text"]
  node_containers["STL containers"]
  node_algorithms["STL algorithms<br/>[45.StlAlgorithms]"]
  node_ranges_iterators["Ranges and iterators"]
end

node_inheritance -->|"initializes base"| node_inheritance

click node_first_steps "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/03.FirstSteps"
click node_variables_ops "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/04.VariablesAndDatatypes"
click node_expressions "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/05.OperationsOnData"
click node_constants_bits "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/06.LiteralsAndConstants"
click node_flow_loops "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/10.FlowControl"
click node_arrays "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/12.Arrays"
click node_pointers "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/13.Pointers"
click node_references "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/14.References"
click node_strings "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/15.CharacterManipulationAndStrings"
click node_functions "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/16.Functions"
click node_arguments_returns "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/18.ArgumentsToTheMainFunction"
click node_overloads_lambdas "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/20.FunctionOverloading"
click node_smart_pointers "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/33.SmartPointers"
click node_inheritance "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/36.Inheritance"
click node_exceptions_templates "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/38.Exceptions"
click node_containers "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/44.ZoomingOnSTLContainers"
click node_algorithms "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/45.StlAlgorithms"
click node_ranges_iterators "https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/46.RangesLibraryInCpp20"

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_first_steps,node_variables_ops toneBlue
class node_expressions,node_constants_bits,node_flow_loops toneAmber
class node_arrays,node_pointers,node_references,node_smart_pointers toneMint
class node_functions,node_arguments_returns,node_overloads_lambdas,node_inheritance,node_exceptions_templates toneRose
class node_strings,node_containers,node_algorithms,node_ranges_iterators toneIndigo
```

## Components

### C++ fundamentals

- [First programs](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/03.FirstSteps): `03.FirstSteps`
- [Values and operations](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/04.VariablesAndDatatypes): `04.VariablesAndDatatypes`

### Core language

- [Expressions and conversions](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/05.OperationsOnData): `05.OperationsOnData`
- [Constants and bits](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/06.LiteralsAndConstants): `06.LiteralsAndConstants`
- [Flow and loops](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/10.FlowControl): `10.FlowControl`

### Memory and types

- [Arrays](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/12.Arrays): `12.Arrays`
- [Pointers and allocation](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/13.Pointers): `13.Pointers`
- [References](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/14.References): `14.References`
- [Smart pointers](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/33.SmartPointers): `33.SmartPointers`

### Functions and abstraction

- [Functions](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/16.Functions): `16.Functions`
- [Arguments and results](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/18.ArgumentsToTheMainFunction): `18.ArgumentsToTheMainFunction`
- [Overloads and lambdas](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/20.FunctionOverloading): `20.FunctionOverloading`
- [Inheritance examples](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/36.Inheritance): `36.Inheritance`
- [Exceptions and templates](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/38.Exceptions): `38.Exceptions`

### Standard library

- [Strings and text](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/15.CharacterManipulationAndStrings): `15.CharacterManipulationAndStrings`
- [STL containers](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/44.ZoomingOnSTLContainers): `44.ZoomingOnSTLContainers`
- [STL algorithms](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/45.StlAlgorithms): `45.StlAlgorithms`
- [Ranges and iterators](https://github.com/rutura/the-c-20-masterclass-source-code/tree/main/46.RangesLibraryInCpp20): `46.RangesLibraryInCpp20`

## Connections

- Inheritance examples → Inheritance examples: initializes base (evidence: `36.Inheritance/36.10CopyConstructorsWithInheritance/civilengineer.cpp`)
