# Edit Distances

> StringZilla for C++

`#include <stringzilla/types.hpp>`

## error_costs_unary_t

A trivial function object for uniform character substitution costs in Levenshtein-like similarity algorithms.

```cpp
struct error_costs_unary_t
```

See also: error_costs_32x32_t

