Daily Archive: March 8, 2020

1

Perfect Forwarding with Template

By writing a constructor template you can cover several alternatives of the constructors. But there is also a way to call copy constructor or move constructor when you forwarding an object. In flowing code,...

0

Template

Here you are a short review code for templates Explicit Initialization forces compiler to create a version of code. Explicit Specialization is the way for creating an alternative implementation of a template method.