Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::atomic...ed_alignment(3) C++ Standard Libarystd::atomic...ed_alignment(3)

NAME
       std::atomic_ref::required_alignment  - std::atomic_ref::required_align-
       ment

Synopsis
	  static       constexpr	std::size_t	   required_alignment=
       (since C++20)
	  /*implementation-defined*/;

	  The value of required_alignment is the required alignment for	an ob-
       ject to be
	  referenced by	an atomic reference, which is at least alignof(T).

Notes
	  Hardware  could  require  that  an  object  to  be  referenced by an
       atomic_ref<T> have
	  stricter alignment than other	T objects, and whether	operations  on
       an atomic_ref are
	  lock-free can	depend on the alignment	of the referenced object.

http://cppreference.com		  2022.07.31	 std::atomic...ed_alignment(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::atomic_ref::required_alignment&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help