asio-tr2
asio-tr2 copied to clipboard
Consider whether the address iterator members can be constexpr
And range members.
Pre-Lenexa Summary
[internet.address.iter], [internet.address.range]
Is it possible for the iterator and range members to be made constexpr? Is there a use case to justify it?
One potential use case is to find a successor address as a constant expression. E.g.:
constexpr ip::address_v4 next = *++ip::address_v4_iterator(ip::address_v4::loopback());