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

FreeBSD Manual Pages

  
 
  

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

NAME
       std::experimental::ranges::Copyable  - std::experimental::ranges::Copy-
       able

Synopsis
	  Defined in header <experimental/ranges/concepts>
	  template <class T>

	  concept bool Copyable	=
	  CopyConstructible<T> &&			    (ranges TS)
	  Movable<T> &&

	  Assignable<T&, const T&>;

	  The concept Copyable<T> specifies that T is an Movable  object  type
       that can	also
	  copied (that is, it supports copy construction and copy assignment).

Notes
	  It  is  intended that	Copyable<T> also requires Assignable<T&, const
       T> (assignment
	  from const rvalue) and Assignable<T&,	T&> (assignment	from non-const
       lvalue) to be
	  satisfied.

See also
	  Movable specifies that an object of a	type can be moved and swapped
		  (concept)

http://cppreference.com		  2022.07.31	 std::experi...es::Copyable(3)

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

home | help