IHash<TKey,TValue>.empty Metod

Definition

Testar om det inte finns några element i containern.

public:
 bool empty();
public bool empty();
abstract member empty : unit -> bool
Public Function empty () As Boolean

Returer

trueom containern inte har några element; annars . false

Kommentarer

Mer information finns i hash_map::empty (STL/CLR), hash_multimap::empty (STL/CLR), hash_set::empty (STL/CLR), and hash_multiset::empty (STL/CLR).

Gäller för