home | help
deductiongu...::take_view(3)   C++ Standard Libary  deductiongu...::take_view(3)

NAME
     deductionguidesforstd::ranges::take_view	      - 	deductionguides-
     forstd::ranges::take_view

Synopsis
	Defined in header <ranges>
	template< class R >
	take_view(	R&&,	  ranges::range_difference_t<R>       )       ->
     (since C++20)
	take_view<views::all_t<R>>;

	The  deduction guide is provided for std::ranges::take_view to allow de-
     duction from
	range and number of elements.

Example
	 This section is incomplete
	 Reason: no example

	Defect reports

	The following behavior-changing defect	reports  were  applied	retroac-
     tively to
	previously published C++ standards.

	   DR	  Applied to	  Behavior as published 	     Correct be-
     havior
			    the template parameter R is     R is unconstrained
	LWG 3447 C++20	    constrained with range	     (but  range_differ-
     ence_t requires
							    range)

Category:
	  * Todo no example

http://cppreference.com 	   2024.06.10	    deductiongu...::take_view(3)

home | help