-
Notifications
You must be signed in to change notification settings - Fork 33
Гатин Ленар #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Гатин Ленар #24
Conversation
| Coord2D coord; | ||
| unsigned radius; | ||
| Coord2D coord{}; | ||
| unsigned radius = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
разные способы инициализации, лучше использовать в едином стиле
| lhs << "{"; | ||
|
|
||
| if (!rhs.empty()) { | ||
| lhs << "\n"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
поскольку тут строка а не символ, то можно было сразу объединить оба
18thday
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GanjaMember следующие комментарии:
- много дублирования кода
- UB при const_cast
- есть некорректные сигнатуры функций
Добрый день, спасибо вам за подробные комментарии. Ошибки учту при выполнении следующих домашних заданий |
…ernary operators to remove code duplication
…nature of function
…e output of symbols
No description provided.