How to tell if a function is called by a constructor?

Not sure if it is what you are looking for, but look into function pointers