Design principles that you should not forget on software design
1. The Single Responsibility Principle 2. The Open Closed Principle 3. The Liskov Substitution Principle 4. The Interface Segregation Principle 5. The Depend...
1. The Single Responsibility Principle 2. The Open Closed Principle 3. The Liskov Substitution Principle 4. The Interface Segregation Principle 5. The Depend...
C++11 introduced a new way to cast shared_ptr as shown below. std::dynamic_pointer_cast std::static_pointer_cast std::const_pointer_cast
The following article is showing a nice example how C++11 can support coroutine feature. C# has already supported this feature from C# 2.0. http://paolosever...
The following algorithm will make your code clean and faster 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1. std::all_of bool res = std::all_of(std::begin(conta...
Main bottle neck of modern CPU(shared memory architecture) is always related to accessing memory because memory is the slowest part in modern computer archi...