Sorry, this entry is only available in Turkish.
Hello, my friends, we are together with another weekly C++ post. The topic of this post is about std::optional which is introduced with C++ 17. In this post, we are going to take alook at why we need such capability an in which cases we can use that with example codes. This post will be… Continue reading
Hello my friends. In this post, we are going to have a brief look at std::find_if API (provided via algorithm library) snippet which you can use frequently in your codes. You can find the prototype of API as follow:
template <class InputIterator, class UnaryPredicate>
InputIterator find_if (InputIterator first, InputIterator last, UnaryPredicate pred);
Let us look at the official definition which says that it finds the first element… Continue reading