> For the complete documentation index, see [llms.txt](https://jazz-lang.gitbook.io/jazz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jazz-lang.gitbook.io/jazz/generics.-part-4.md).

# Generics. Part 4

## Const generics

*const generic*s identical to C++ template parameters. With *const generics* you can do a lot of things e.g declare `SmallVector` type that will have some limit:

```csharp
struct SmallVector<T,var COUNT: int> {
    var array: T[COUNT];
}

var vector = SmallVector<int,32>();
```
