C++11 - Pointer casts
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
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...
1 2 3 4 5 6 7 8 9 10 11 12 include<string> using std; std::to_string std::to_wstring stoi: converts a string to a signed integer stol: ...