Consider creating basic_address_iterator<>
and typedefs for address_range_v4 and address_range_v6
I did this in my implementation.
Was added in 568dd02df65e1974242a9c753260d05259bb0b96.
Note that typedefs are address_v4_range and address_v6_range as per other comments.
Pre-Lenexa Summary
This change simplifies use of the address iterator types in IP-version-independent generic code. The basic_address_iterator primary template is not defined. Only specialisations for address_v4 and address_v6 are provided.
The change was included in revision 5. An implementation can be found on the master branch of Asio's GitHub repository.