Item-45 Use member function templates to accept all compatible types
· β 4 min read
In order to implicitly convert all compatible types for a template class, we neet not a constructor function but a constructor template - member functoin templates that generate member functions of a class.