' is a non-finite clause acting as an adverb. It refers to a past condition/situation. I would feel very uncomfortable having gone out = I would feel very uncomfortable if I had gone out Having eaten the whole pizza, I felt sick the next day.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.