asio C++ library

PrevUpHomeNext

ip::address_cast (1 of 9 overloads)

Cast a version-independent address to itself.

template<
    typename T>
T address_cast(
    const address & addr,
    typename enable_if< is_same< T, address >::value >::type *  = 0);

PrevUpHomeNext