Namespaces
Variants

std::atomic_ref<T>:: required_alignment

From cppreference.net
Concurrency support library
Threads
(C++11)
(C++20)
this_thread namespace
(C++11)
(C++11)
Cooperative cancellation
Mutual exclusion
Generic lock management
Condition variables
(C++11)
Semaphores
Latches and Barriers
(C++20)
(C++20)
Futures
(C++11)
(C++11)
(C++11)
Safe reclamation
Hazard pointers
Atomic types
(C++11)
(C++20)
Initialization of atomic types
(C++11) (deprecated in C++20)
(C++11) (deprecated in C++20)
Memory ordering
(C++11) (deprecated in C++26)
Free functions for atomic operations
Free functions for atomic flags
static constexpr std:: size_t required_alignment = /*implementation-defined*/ ;
(C++20부터)

required_alignment 의 값은 원자적 참조(atomic reference)로 참조될 객체에 필요한 정렬(alignment)로, 최소한 alignof ( T ) 입니다.

참고 사항

하드웨어는 atomic_ref<T> 로 참조되는 객체가 다른 T 객체보다 더 엄격한 정렬을 요구할 수 있으며, atomic_ref 에 대한 연산이 잠금 없는 방식으로 수행되는지는 참조된 객체의 정렬에 따라 달라질 수 있습니다.