Constructors
Synopses
Declared in <llvm/ADT/StringMap.h>
Construct an empty map with the default allocator.
StringMap();
Deep‐copy construct from RHS.
Move‐construct, taking ownership of RHS's table and allocator.
Construct an empty map that uses allocator A.
explicit
StringMap(AllocatorTy A);
Construct an empty map with roughly InitialSize buckets.
explicit
StringMap(unsigned int InitialSize);
Construct from an initializer list of key/value pairs.
StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List);
Construct with InitialSize buckets and allocator A.
StringMap(
unsigned int InitialSize,
AllocatorTy A);
Created with MrDocs