[+] Show answers
What does 'Effective C++' majorly focus on?
According to the book, what is the single. most important reason to refactor your code?
What does the book suggest the 'Rule of Three' is in Resource Management?If you need to manually write any of the destructor, copy constructor or copy assignment operator for a class then you probably need to write all threeThree programmers should review each line of codeRe-write the code thrice for better understanding
According to the book, what does the Pimpl Idiom stand for?
Which of the following options does the book consider as valid ways to prevent exceptions from leaving destructors?Terminate the programSwallow the exceptionRetrow the exceptionIgnore the exception
According to the book, when should you prefer to use a member function over a non-member non-friend function?
What does the book suggest about the use of 'const' in C++?Makes objects immune to modificationCan be applied to function parameters and return typesIndicates that member function does not modify the objectMakes the program run fasterIs only used for global variables
What does the book say about new and delete operators?
According to the 'Effective C++', what is the impact of exceptions on performance?Negligible impact if no exception is thrownSignificant impact if exceptions are frequently thrownAlways slows down the programIncrements program's speed
What principle does the book mention about designing classes and functions?