generated from Nakama3942/template_rep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Теперь для определения размера используется алиас для типа unsigned int. Теперь всё, что связано с размерами, будет иметь тип asize_t (array size type (тип размера массива)). Добавлена защита в операторах прибавления и умножения - теперь размер не может быть больше, чем объём переменной размера, что должно было приводить к ошибкам. Я не проверял, будут ли ошибки, но защиту решил ввести.
- Loading branch information
1 parent
0d3195b
commit 89658e6
Showing
2 changed files
with
92 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.