<commit_before># For-Range
Simple and fast class, to use the range in the range-based for loop.

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/351a0ed3a1674d098d4b982f3695eaf9)](https://www.codacy.com/app/yeswell/For-Range?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=yeswell/For-Range&amp;utm_campaign=Badge_Grade)<commit_msg>Add examples<commit_after># For-Range
Simple and fast class, to use the range in the range-based loop.

## Project quality:

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/351a0ed3a1674d098d4b982f3695eaf9)](https://www.codacy.com/app/yeswell/For-Range?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=yeswell/For-Range&amp;utm_campaign=Badge_Grade)

```cpp
for (auto i: range(N))
{
    cout << i;
}
```

```cpp
for (auto i: range_z(N))
{
    cout << i;
}
```

```cpp
for (auto i: range(N, M))
{
    cout << i;
}
```

```cpp
for (auto i: range(N, M, step))
{
    cout << i;
}
```

```cpp
for (auto i: range(M, N, -step))
{
    cout << i;
}
```
{'fraction_non_alphanumeric': 0.18226120857699804, 'fraction_numerical': 0.04093567251461988, 'mean_word_length': 5.076923076923077, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3533598', 'n_tokens_mistral': 468, 'n_tokens_neox': 430, 'n_words': 75}