Open hewillk opened 2 years ago
They are used in "Effects: Equivalent to" in the specification of the iterator. It seems to me that the reason of making them public is to avoid the potentially ill-formedness caused by access control.
I guess there should be a general rule - exposition-only members in the library specification are considered accessible from other entities in the standard library, but not from programs (user codes).
I guess there should be a general rule - exposition-only members in the library specification are considered accessible from other entities in the standard library, but not from programs (user codes).
See https://github.com/cplusplus/draft/issues/5428#issuecomment-1116721544.
From [range.chunk.by.view]
Although
find-next
andfind-prev
are exposition only, is it more appropriate to move them to the private block?