Constructors
Synopses
Declared in <llvm/ADT/SmallString.h>
Default ctor ‐ Initialize to empty.
SmallString() = default;
Initialize from a StringRef.
SmallString(StringRef S);
Initialize by concatenating a list of StringRefs.
SmallString(std::initializer_list<StringRef> Refs);
Initialize with a range.
template<typename ItTy>
SmallString(
ItTy S,
ItTy E);
Parameters
Name |
Description |
S |
String whose characters are copied into this SmallString. |
Refs |
StringRefs to concatenate in order. |
E |
Iterator past the last character to copy. |
Created with MrDocs