Add friend example and friend function to static