You may also enjoy
ML - basic algorithms
less than 1 minute read
Basic ML algorithms
C++ - decltype example
less than 1 minute read
The following code is trying to make a reference to avoid the copy 1 auto& element = *pos;
C++ - static_pointer_cast
less than 1 minute read
C++11 introduce the static_pointer_cast which will allow to case the shared_ptr to another type without runtime checking.
C++ - auto as a non-type parameter in template
less than 1 minute read
C++17 and later: auto as a non-type template parameter