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

Rename address_iterator_v4 to address_v4_iterator

Open chriskohlhoff opened this issue 10 years ago • 2 comments

Same for v6.

chriskohlhoff avatar Feb 27 '15 10:02 chriskohlhoff

Equivalent change made to range types.

Was applied in 568dd02df65e1974242a9c753260d05259bb0b96 and 270ba9613d82b44098af6cbd42d998dc7b5222f4.

chriskohlhoff avatar Apr 11 '15 02:04 chriskohlhoff

Pre-Lenexa Summary

[internet.address.iter], [internet.address.range], [internet.synop] (for the typedefs)

The previous names used the form address_iterator_v4, i.e. the IP version suffix is at the end. In Cologne it was pointed out that, conventionally, iterator is used as a suffix. LEWG may want to confirm this name change.

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 12:05 chriskohlhoff