12:28 PM
5 hours later…
5:32 PM
posted on October 03, 2023 by Blog Staff
The C++ standard library comes with a few smart pointer types. The simplest one is unique_ptr: This class babysits a raw pointer and remembers to delete it at destruction (in an appropriate manner). Dumping the contents of a unique_ptr is just looking at the raw pointer inside. Inside STL: Smart Pointers By Raymond Chen From the article: The C++ standard l…
2 hours later…
7:53 PM
@Mgetz People have been telling me that since I was born. I remember when I was 10 we were supposed to write every day in our school diaries how many hours we worked for school at home the day before. I was at +/- 6h every day due to my parents forcing me to keep on studying and doing exercises untill I didn't make any mistakes at all.
Once the teacher noticed how many hours I worked he wrote to my parents they should stop making me work that much. Nothing changed. And here I am 20 years later, writing software. See, everything turned out pretty well after all
« first day (4735 days earlier) ← previous day next day → last day (68 days later) »