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

std::align_val_t - std::align_val_t


Defined in header <new>
enum class align_val_t : std::size_t {}; (since C++17)


Both new-expression and delete-expression, when used with objects whose alignment
requirement is greater than __STDCPP_DEFAULT_NEW_ALIGNMENT__, pass that alignment
requirement as an argument of type std::align_val_t to the selected
allocation/deallocation function.


Alignment (as obtained by alignof) has the type std::size_t, but placement forms of
allocation and deallocation functions that take std::size_t as an additional
parameter are already in use, so this type is used instead.


operator new allocation functions
operator new[] (function)
operator delete deallocation functions
operator delete[] (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.