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_safety(3) C++ Standard Libary std::pointer_safety(3)

std::pointer_safety - std::pointer_safety


Defined in header <memory>
enum class pointer_safety {


relaxed, (since C++11)
preferred, (removed in C++23)
strict


};


The scoped enumeration type pointer_safety lists the pointer safety modes supported
by C++.


Enumeration constants


Only safely-derived pointers (pointers to objects
pointer_safety::strict allocated with new or subobjects thereof) may be
dereferenced or deallocated. Garbage collector may be
active.
All pointers are considered valid and may be dereferenced
pointer_safety::preferred or deallocated. A reachability-based leak detector may be
active.
pointer_safety::relaxed All pointers are considered valid and may be dereferenced
or deallocated.


get_pointer_safety returns the current pointer safety model
(C++11)(removed in C++23) (function)

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.