chriskohlhoff / asio-tr2

C++ TR2 proposal based on Asio
17 stars 5 forks source link

Consider creating basic_address_iterator<> #153

Open chriskohlhoff opened 9 years ago

chriskohlhoff commented 9 years ago

and typedefs for address_range_v4 and address_range_v6

mclow commented 9 years ago

I did this in my implementation.

chriskohlhoff commented 9 years ago

Was added in 568dd02df65e1974242a9c753260d05259bb0b96.

chriskohlhoff commented 9 years ago

Note that typedefs are address_v4_range and address_v6_range as per other comments.

chriskohlhoff commented 9 years ago

Pre-Lenexa Summary

[internet.address.iter]

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.