Adds a __get_container member as suggested by @Quuxplusone in D110497.
Includes s/_LIBCPP_INLINE_VISIBILITY/_LIBCPP_HIDE_FROM_ABI/.
Differential D110573
[libc++] Adds back_insert_iterator::__get_container. Mordante on Sep 27 2021, 11:56 AM. Authored by
Details
Adds a __get_container member as suggested by @Quuxplusone in D110497. Includes s/_LIBCPP_INLINE_VISIBILITY/_LIBCPP_HIDE_FROM_ABI/.
Diff Detail
Event TimelineComment Actions Presumably you should wait to land this until it's actually needed by <format>, so we don't have a loose wire hanging around for too long without being hooked up to something.
|
Agreed, but it has non-negative use, and it's conventional (in that it doesn't modify any of *this's members), so I think you should make it const just for consistency.
Otherwise LGTM!