Closed uap-universe closed 5 years ago
The current C++ working draft is N4800. It has no subclause [iterator.assoc.types.value_type]; value_type
became readable_traits
as part of P1037r0 "Deep Integration" which was integrated into P0896R4 "The One Ranges Proposal" that was finally merged into the C++ working draft.
std::experimental::ranges::readable_traits
does have a specialization for pointer types as specified in [readable.traits] in the working draft.
(Everything in the cursor
subnamespace is an implementation detail of basic_iterator
from the stalled P0186 "Iterator Facade Library Proposal for Ranges".)
Thank you for the quick response and apologies for the inconvenience. There seems still to be too many outdated information on the internet and shame on me I did not search hard enough for the most recent stuff....
The current working draft suggests (iterator.assoc.types.value_type) that value_type should have a specialization like this for pointer types:
This specialization seems to be missing from this implementation. The below example code does only compile, if I add this specialization manually.
Full example for demonstration: