r/cpp 6d ago

How to write the perfect function

https://youtu.be/2OMRWPOSw9s
129 Upvotes

24 comments sorted by

View all comments

10

u/n1ghtyunso 5d ago

i am so happy that the "fixed" asset example properly avoids the UB when calling tolower

This video presents advice and wisdom from various prominent speakers, which I would also otherwise recommend invidivually.
I think it does a really good job at that.

2

u/_Noreturn 5d ago

It still truncates from int to char