std::array::empty

From cppreference.com
Jump to: navigation, search
constexpr bool empty();
(since C++11)

Checks if the container has no elements, i.e. whether begin() == end().

Contents

[edit] Parameters

(none)

[edit] Return value

true if the container is empty, false otherwise

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] Complexity

Constant

See also

returns the number of elements
(public member function) [edit]
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox