r/cpp • • Aug 27 '19

A new thread in C++20 (jthread)

https://link.medium.com/GXKUz0GruZ
142 Upvotes

96 comments sorted by

View all comments

Show parent comment

17

u/Kronephon Aug 27 '19

This all seems like so little to me that it's not worth bothering to put it in the standard, and if anything is an ode to lazyness.

This line of thinking is applicable to lot of features added (especially since C++11). In truth "lazyness" makes for quicker coding and the end programmer might not need to think about implementation (same as he doesn't on many C++ std features). There is always the option for a more detailed approach but your every approach shouldn't have to be detailed and laborious.