Format object that prints a range with a separator and optional surroundings.
Declared in <llvm/Support/InterleavedRange.h>
template<typename Range>
class InterleavedRange;
Supports specifying the separator and, optionally, the prefix and suffix to be printed surrounding the range. Uses the operator '<<' of the range element type for printing. The range type itself does not have to have an '<<' operator defined.
| Name | Description |
|---|---|
InterleavedRange [constructor] | Construct from range R with Separator between elements and optional Prefix / Suffix. |
str | Return the formatted range as a string. |
operator std::string | Convert to a string by formatting the range. |
| Name | Description |
|---|---|
llvm::operator<< | Write Interleaved to OS and return OS. |
| Name | Description |
|---|---|
interleaved | Create a format object that prints R with interleaved elements. |
interleaved_array | Create a format object that prints R as an interleaved array. |