Chain of Responsibility Design Pattern in Modern C++

Chain of Responsibility is a Behavioural Design Pattern that provides facility to propagate event/request/command/query to the chain of loosely coupled objects. Chain of Responsibility Design Pattern in Modern C++ lets you pass requests along a chain of handlers & upon receiving a request, each handler decides either to process the request or to forward it to the next handler in the chain. By the way, If you haven’t check out my other articles on Behavioural Design Patterns, then here is the list:...

April 3, 2020 · 7 min · 1337 words · Vishal Chovatiya