asio-tr2 icon indicating copy to clipboard operation
asio-tr2 copied to clipboard

Consider creating basic_address_iterator<>

Open chriskohlhoff opened this issue 10 years ago • 4 comments

and typedefs for address_range_v4 and address_range_v6

chriskohlhoff avatar Feb 27 '15 10:02 chriskohlhoff

I did this in my implementation.

mclow avatar Mar 02 '15 06:03 mclow

Was added in 568dd02df65e1974242a9c753260d05259bb0b96.

chriskohlhoff avatar Apr 11 '15 02:04 chriskohlhoff

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

chriskohlhoff avatar Apr 11 '15 02:04 chriskohlhoff

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.

chriskohlhoff avatar May 04 '15 09:05 chriskohlhoff