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

FreeBSD Manual Pages

  
 
  

home | help
std::experi...c_shared_ptr(3) C++ Standard Libarystd::experi...c_shared_ptr(3)

NAME
       std::experimental::atomic_shared_ptr::atomic_shared_ptr	- std::experi-
       mental::atomic_shared_ptr::atomic_shared_ptr

Synopsis
	  constexpr atomic_shared_ptr()	noexcept;			 (1)
	  constexpr atomic_shared_ptr( shared_ptr<T> desired ) noexcept; (2)
	  atomic_shared_ptr( const atomic_shared_ptr& )	= delete;	 (3)

	  Constructs a new atomic_shared_ptr object.

	  1) The default constructor initializes the object to an empty	state.
	  2) Initializes the underlying	shared_ptr<T> with desired.  The  ini-
       tialization is not
	  atomic.
	  3) Atomic variables are not CopyConstructible.

Parameters
	  desired - value to initialize	with

Exceptions
http://cppreference.com		  2022.07.31	 std::experi...c_shared_ptr(3)

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

home | help