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
Well, as all you know, I am trying to post my blogs in both turkish and english as much as possible. However, for this particular and some other posts, turkish will be my priority. You can find similar content in the links that I enlisted under References section. Of course, if I can find time… Continue reading
Modern C++ (3): Uniform Initialization, override/final, default/delete, constexpr, etc. Let assume that, we want to have a set of parameters of the same type in any method or constructor. We don’t want to use std::vector and similar containers (they don’t look so good 🙂 and we want to do this in a modern way. How… Continue reading