An easy way to read pointers

preview_player
Показать описание
This video explains the difference between a constant pointer and a pointer to a constant.
This trick will help you read C/C++ const pointer syntax.
Рекомендации по теме
Комментарии
Автор

That backward reading trick was super helpful bro 🙏

shady
Автор

was desperately seeking a pattern like this - thank you!!!

edwardciafardini
Автор

My style is to clarify const pointers with whitespace so "int *const"

bootmii
Автор

Are these types really needed in the first place? I've never had to use them with Qt.

killanimals