Converts an IPAddress to an IPAddressV6 instance
Declared in <folly/IPAddress.h>
<folly/IPAddress.h>
IPAddressV6 const& asV6() const;
Throws InvalidAddressFamilyException if the IP Address is not currently a valid V6 instance.
InvalidAddressFamilyException
A reference to the underlying IPAddressV6 instance.