home | help
std::ranges...ange::empty(3)   C++ Standard Libary  std::ranges...ange::empty(3)

NAME
     std::ranges::subrange::empty - std::ranges::subrange::empty

Synopsis
	constexpr bool empty() const;  (since C++20)

	Checks	whether the subrange is empty, i.e. the stored iterator and sen-
     tinel compare
	equal.

Parameters
	(none)

Return value
	true if the stored iterator and sentinel compare equal, false otherwise.

Example
	 This section is incomplete
	 Reason: no example

See also
	size	      obtains the size of the subrange
	(C++20)       (public member function)
	empty	      checks whether the container is empty
	(C++17)       (function template)
	ranges::empty checks whether a range is empty
	(C++20)       (customization point object)

Category:
	  * Todo no example

http://cppreference.com 	   2024.06.10	    std::ranges...ange::empty(3)

home | help