@Srx only the syntax may look ugly at first, especially if you come from C# background where you use Generics. In C++ there are benefits in using Templates because they are generating the code (e.g. instantiating a template) with the parameters (type and values) you exactly wanted, allowing...