Namespaces
Variants
Views
Actions

std::{{{1}}}::empty

From cppreference.com
Revision as of 15:20, 14 August 2011 by P12 (Talk | contribs)

Template:cpp/container//sidebar

bool empty() const;
Template:cpp/container/mark c++11 feature

Checks if the container has no elements, i.e. whether Template:cpp.

Contents

Parameters

Template:param none

Return value

Template:cpp if the container is empty, Template:cpp otherwise

Exceptions

noexcept specification:  
noexcept
  

Complexity

Template:complex constant

See also

Template:cpp/container/dcl list size