title: Using Factory Method pattern for different arguments
body: <p>Hello my question is regarding if its possible to use the factory pattern for classes with same number of arguments in their constructor but different types. For example, I have an interface called <strong>IVerify</strong>. I have 2 classes that implement them, <strong>NameVerifier</strong>, which takes in a <strong>String name</strong> in its constructor,  and <strong>IntegerVerifier</strong>, which takes in an <strong>int num</strong> in its constructor. Is it possible to do the factory pattern in this case?</p>
  
  <p>Could we use <strong>IVerify Factory.CreateNameVerifier(string)</strong>   and <strong>IVerify Factory.createIntegerVerifier(int)</strong> Is it still considered as a factory pattern?</p>
  
  <p>Additional note: Im using c++</p>