No use of initializer list

From: Busin (businm_at_fidrep.com)
Date: 06/29/04

  • Next message: SaltPeter: "Re: no match for complain"
    Date: Tue, 29 Jun 2004 07:30:27 GMT
    
    

    Class A has a constructor,

    A::A(x, y)
    {
       f(x, y)
    }

    x and y will not be used as member variables of class A but to invoke a
    function f(x, y). Is it ok to not use an initializer list for constructor
    of class A in such a case?

    Thanks!


  • Next message: SaltPeter: "Re: no match for complain"
  • Quantcast