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.
Is there any differences at all? Is the latter considered bad practice?
Thanks in advance.