template <typename T>
struct pointer_traits
Defined at line 215 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
Specialize std::pointer_traits so that we can obtain the underlying raw
pointer without resulting in CHECK failures. The important bit is the
`to_address(pointer)` overload, which is the standard blessed way to
customize `std::to_address(pointer)` in C++20 [1].
[1] https://wg21.link/pointer.traits.optmem
Public Methods
pointer pointer_to (element_type & r)
Defined at line 224 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
element_type * to_address (pointer p)
Defined at line 228 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h