GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::pointer_traits::to_address(3) C++ Standard Libary std::pointer_traits::to_address(3)

std::pointer_traits::to_address - std::pointer_traits::to_address


Defined in header <memory>
static element_type* to_address(pointer p) (since C++20)
noexcept; (optional member of program-defined
specialization)


Constructs a raw pointer that references the same object as its pointer-like ("fancy
pointer") argument.


This function, if defined, is the inverse of pointer_to, and exists as the
customization point to be called by std::to_address.


p - fancy pointer/pointer-like object


A raw pointer of the type element_type* that references the same memory location as
the argument p.


pointer_to obtains a dereferenceable pointer to its argument
[static] (public static member function)
to_address obtains a raw pointer from a pointer-like type
(C++20) (function template)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.