title: Is it good practice to initialize a member variable of a class in the header file?
body: <p>Let's say I have a pointer and I want it to be initialized to nullptr. Which option would be better, to create a constructor that sets that member variable to nullptr or just initialize it in the declaration on the header file to nullptr.</p>
  <p>Is there any differences at all? Is the latter considered bad practice?</p>
  <p>Thanks in advance.</p>