Lambda functions in C++
Lambda functions are just syntactic sugar for anonymous functors.

Search for a command to run...
Articles tagged with #cpp
Lambda functions are just syntactic sugar for anonymous functors.

Ever wondered how to spawn threads in c++ ? How to create promises/ async functions in c++ ?

Building the problem Suppose you have an abstraction class Shape and a concrete class Circle We want to add rendering functionality to our shapes Also, this rendering can be of two types, a pixel rendering or a vector rendering, so corresponding ...

Understanding the Problem Ordinary code statements are perishable, for example you cannot undo a field/property assignment you cannot directly take a sequence of actions that you just made and you cannot serialise them (to a db for example) there...

Creational Design Patterns are a set of design patterns that provide ways to create objects while abstracting the instantiation process. They include 5 patterns Builder, Factory/Factory Method/Abstract Factory, Prototype and Singleton, and help enha...
