Chapter 11. Generic Functions
A function in Zig can take types as parameters.
| Section | Title |
|---|---|
| 1 | Generic Functions |
| 2 | Generic Structs |
| 3 | Type Constraints by Use |
| 4 | Interfaces by Convention |
| 5 | Compile-Time Dispatch |
| 6 | Exercises |
A function in Zig can take types as parameters.
| Section | Title |
|---|---|
| 1 | Generic Functions |
| 2 | Generic Structs |
| 3 | Type Constraints by Use |
| 4 | Interfaces by Convention |
| 5 | Compile-Time Dispatch |
| 6 | Exercises |