ASAmr Shamsintempted.dev·Jan 31, 2023 · 2 min readLambda Expressionthe lambda expression was first introduced to the programming world after the function pointer as we discussed previously. the function pointer refers to a pointer that holds the address of the function to be used as an argument to another function, ...00
ASAmr Shamsintempted.dev·Jan 7, 2023 · 2 min readSmooth intro to Smart Pointershave you ever wondered what's going on inside the man who created the pointer? though it is a vivid topic and needs more to talk about briefly what you see in everyday life is what so-called row pointers. row pointers are mysterious and hard to fall ...00
ASAmr Shamsintempted.dev·Jan 6, 2023 · 3 min readRecap on the modern C++ talkswe first talked about the template and how the type deduction plays a critical role in the usage of other declarations like auto. In the three cases where the template type deduction is used, paramtype is a reference or pointer. but not universal ...00
ASAmr Shamsintempted.dev·Jan 5, 2023 · 4 min readUse constexpr whenever possible.If there were an award for the most confusing new word in C++11, constexpr would probably win it. When applied to objects, it’s essentially a beefed-up form of const, but when applied to functions, it has a quite different meaning. Cutting through th...00
ASAmr Shamsintempted.dev·Jan 4, 2023 · 3 min readtypedefs best alternativehave you ever used a container from STL in C++? LOL, I am kidding reading this article is transitive relation to your knowledge. the syntax of calling one container let's say a vector with pair of strings is a nightmare-even calling this line of code...00