No, what matters is if child is a class or a struct.
Since child is a class it will use private inheritance by default. From outside the child class it's as-if it doesn't inherit from parent at all. You can't access public members of parent, and you can't use parent pointers or references to point to child objects. From inside the child class you can still do all the things you could do with public inheritance.