[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/container/set/empty [Back]  [Original]

std::set::empty cppreference.com
cppreference.com

std::set::empty

cppreference.com
<tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody>
bool empty() const;
( C++11)
bool empty() const noexcept;
( C++11)
( C++20)
[[nodiscard]] bool empty() const noexcept;
( C++20)

, .. , begin() == end().

()

true , false .

.

:cpp/container/set/example empty

See also


(public -) []

Web Proxy Viewer  |  New URL  |  Original Page