A type for granting access to the private members of an iterator derived from `iterator_interface`. */
| 20 | /** A type for granting access to the private members of an iterator |
| 21 | derived from `iterator_interface`. */ |
| 22 | struct access |
| 23 | { |
| 24 | #ifndef BOOST_STL_INTERFACES_DOXYGEN |
| 25 | |
| 26 | template<typename D> |
| 27 | static constexpr auto base(D & d) noexcept |
| 28 | -> decltype(d.base_reference()) |
| 29 | { |
| 30 | return d.base_reference(); |
| 31 | } |
| 32 | template<typename D> |
| 33 | static constexpr auto base(D const & d) noexcept |
| 34 | -> decltype(d.base_reference()) |
| 35 | { |
| 36 | return d.base_reference(); |
| 37 | } |
| 38 | |
| 39 | #endif |
| 40 | }; |
| 41 | |
| 42 | /** The return type of `operator->()` in a proxy iterator. |
| 43 |
nothing calls this directly
no outgoing calls
no test coverage detected