MCPcopy Create free account
hub / github.com/boostorg/parser / access

Class access

include/boost/parser/detail/stl_interfaces/iterator_interface.hpp:22–40  ·  view source on GitHub ↗

A type for granting access to the private members of an iterator derived from `iterator_interface`. */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected