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

FreeBSD Manual Pages

  
 
  

home | help
std::mdspan::size(3)	      C++ Standard Libary	  std::mdspan::size(3)

NAME
       std::mdspan::size - std::mdspan::size

Synopsis
	  constexpr size_type size() const noexcept;  (since C++23)

	  Returns the number of	elements in mdspan.

	  Equivalent to	extents().fwd-prod-of-extents(rank()).

	  If  the  size	 of  the multidimensional index	space extents()	is not
       representable as	a
	  value	of type	size_type, the behavior	of the program is undefined.

Parameters
	  (none)

Return value
	  The number of	elements.

Example
	   This	section	is incomplete
	   Reason: no example

See also
	   This	section	is incomplete

Categories:
	    * Todo no example
	    * Todo without reason

http://cppreference.com		  2024.06.10		  std::mdspan::size(3)

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

home | help