std::forward_list::empty
De cppreference.com
< cpp | container | forward list
bool empty() const noexcept; |
(desde C++11) (hasta C++20) |
|
[[nodiscard]] bool empty() const noexcept; |
(desde C++20) | |
Comprueba si el contenedor no tiene elementos, es decir, si begin() == end().
Contenido |