cpp icon indicating copy to clipboard operation
cpp copied to clipboard

making-the-grades: explain static_cast

Open ErikSchierboom opened this issue 2 years ago • 2 comments

I don't see any mention in the instructions on how to actually use static_cast. We don't necessarily need an example, but maybe mention that static_cast is a function (or at least can be called as a function)?

ErikSchierboom avatar Jul 08 '23 13:07 ErikSchierboom

static_cast can be found earlier in the tree under the numbers concept. Maybe a short refresher is better?

vaeng avatar Jul 08 '23 21:07 vaeng

Ah, I missed that. My solution there doesn't use static_cast, which might be why it didn't stick.

ErikSchierboom avatar Jul 10 '23 10:07 ErikSchierboom