# Multi-Dimensional Grids

C++ has only very rudimentary support for multi-dimensional arrays.
Schnek contains a Grid class that allows multi-dimensional arrays to be easily created and resized. The Grid class is strongly customisable using template parameters. It allows different storage policies. For example, the Lazy Storage Policy can increase performance for grids that are resized often. There are also different policies for checking the range of the index arguments passed to the Grid. During development you might want to switch argument checking on but for the production version of your code, when speed is important, you can switch argument checking off.

This section covers the following topics.