Queries






Queries

All containers have three member functions that provide information about the size of their controlled sequence. For array objects, these functions are very simple, because the size never changes.

size_type array<Ty, N>::size() const;

The member function returns N, the number of elements in the controlled sequence.

size_type array<Ty, N>::max_size() const;

The member function returns N, the maximum possible number of elements in the controlled sequence.

bool array<Ty, N>::empty() const;

The member function returns N == 0.



 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows