Public Types | Static Public Member Functions | List of all members
absl::pointer_traits< Ptr > Struct Template Reference

#include <memory.h>

Public Types

using difference_type = memory_internal::ExtractOrT< memory_internal::GetDifferenceType, Ptr, std::ptrdiff_t >
 
using element_type = typename memory_internal::ElementType< Ptr >::type
 
using pointer = Ptr
 
template<typename U >
using rebind = typename memory_internal::RebindPtr< Ptr, U >::type
 

Static Public Member Functions

static pointer pointer_to (element_type &r)
 

Detailed Description

template<typename Ptr>
struct absl::pointer_traits< Ptr >

Definition at line 370 of file memory.h.

Member Typedef Documentation

◆ difference_type

template<typename Ptr>
using absl::pointer_traits< Ptr >::difference_type = memory_internal::ExtractOrT<memory_internal::GetDifferenceType, Ptr, std::ptrdiff_t>

Definition at line 382 of file memory.h.

◆ element_type

template<typename Ptr>
using absl::pointer_traits< Ptr >::element_type = typename memory_internal::ElementType<Ptr>::type

Definition at line 376 of file memory.h.

◆ pointer

template<typename Ptr>
using absl::pointer_traits< Ptr >::pointer = Ptr

Definition at line 371 of file memory.h.

◆ rebind

template<typename Ptr>
template<typename U >
using absl::pointer_traits< Ptr >::rebind = typename memory_internal::RebindPtr<Ptr, U>::type

Definition at line 388 of file memory.h.

Member Function Documentation

◆ pointer_to()

template<typename Ptr>
static pointer absl::pointer_traits< Ptr >::pointer_to ( element_type r)
inlinestatic

Definition at line 392 of file memory.h.


The documentation for this struct was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22