mrdocs::doc::trim

trim overloads

Synopses

Declared in <mrdocs/Metadata/DocComment/Block.hpp>

Removes leading and trailing whitespace from the block.

void
trim(Block& el);

Removes leading and trailing whitespace from the text elements

void
trim(BlockContainer& blocks);

Removes leading and trailing whitespace from the text elements in the given InlineContainer.

void
trim(InlineContainer& inlines);

Removes leading and trailing whitespace from the block.

Removes leading and trailing whitespace from the inline element.

Return Value

void

Parameters

Name

Description

el

The Block to trim.

blocks

The BlockContainer to trim.

inlines

The InlineContainer to trim.

Created with MrDocs