ΒΆtemplate <
    typename Container,
    typename UnaryFunctor,
    typename StreamT,
    typename T = detail::ValueOfRange<Container>>
inline void interleave(
    const Container& c,
    StreamT& os,
    UnaryFunctor each_fn,
    const llvm::StringRef& separator)

Description

Overload of interleave for the common case of string separator.

Declared at: llvm/include/llvm/ADT/STLExtras.h:1893

Templates

Container
UnaryFunctor
StreamT
T = detail::ValueOfRange<Container>

Parameters

const Container& c
StreamT& os
UnaryFunctor each_fn
const llvm::StringRef& separator