Like parseTo in folly/Conv.h, but the "source" is SettingValueAndMetadata instead of a StringPiece. Defaults to folly::tryTo<T>(StringPiece) but can be overridden using ADL for user defined types.

Synopsis

Declared in <folly/settings/Types.h>

Return Value

Unit on success, or an error on conversion failure.

Parameters

Name

Description

src

The setting string value and its metadata to convert from.

out

The destination object to write the converted value into.

Created with MrDocs