Format a StringPiece into the output context.

Synopsis

Declared in <folly/Range.h>

template<typename Context>
Context::iterator
format(
    folly::StringPiece s,
    Context& ctx) const;

Return Value

The iterator past the written output.

Parameters

Name

Description

s

The string piece to format.

ctx

The formatting context to write to.

Created with MrDocs