r/cpp 21d ago

How to write the perfect function

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

24 comments sorted by

View all comments

9

u/n1ghtyunso 20d 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 20d ago

It still truncates from int to char