ML - basic algorithms
Basic ML algorithms
Basic ML algorithms
The following code is trying to make a reference to avoid the copy 1 auto& element = *pos;
C++11 introduce the static_pointer_cast which will allow to case the shared_ptr to another type without runtime checking.
C++17 and later: auto as a non-type template parameter
std::type_identity_t was introduced in C++20. Main purpose of this type alias has the following reasons.