05 May 2020 » Effective C++ Series Item 9
Chapter 1, Item 9: Never call virtual functions during construction or destruction.
it will likely not do what you expected.
02 May 2020 » Effective C++ Series Item 8
Chapter 1, Item 8: Prevent exceptions from leaving destructors.
C++ dosenโt prohibit destructors from emitting exceptions, but it discourages the use of it - why?
Read more...29 Apr 2020 » Effective C++ Series Item 7
Chapter 1, Item 7: Declare destructors virtual in polymorphic base classes.
Iโve seen so many virtual keyword in c++ which you donโt quite see in other languages. So what is virtual
?
27 Apr 2020 » Effective C++ Series Item 6
Chapter 1, Item 6: Explicitly Disallow the User of Compiler-Generated Functions you do not want.
From the previous chapter, youโll know that C++ auto generates constructors when you donโt declare it.
However, what happens if you want to create unique objects? Read on to find out more.
Read more...31 Mar 2020 » Welcome M.
Hey all!
Let me introduce a new writer to this blog, M. He is a software engineer working in one of the FAANG company. He is also the fierce coach I mentioned in previous blogpost.
Look forward to his first post!
Signing off,
K.