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

FreeBSD Manual Pages

  
 
  

home | help
std::extents::index-cast(3)   C++ Standard Libary  std::extents::index-cast(3)

NAME
       std::extents::index-cast	- std::extents::index-cast

Synopsis
	  template<		class		  OtherIndexType	     >
       (since C++23)
	  static  constexpr  auto   /*index-cast*/(   OtherIndexType&&	 i   )
       (exposition only*)
	  noexcept;

	  Casts	the index i in type OtherIndexType into	certain	integral type.
       It is
	  equivalent to:

	    * return i;, if OtherIndexType is an integral type other than bool
       and
	    * return static_cast<index_type>(i); otherwise.

Parameters
	  i - the index	to be cast

Return value
	  Cast index.

Notes
	   This	section	is incomplete

Example
	   This	section	is incomplete
	   Reason: no example

See also
	   This	section	is incomplete

Categories:
	    * Todo without reason
	    * Todo no example

http://cppreference.com		  2024.06.10	   std::extents::index-cast(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::extents::index-cast&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help