folly::expected_detail::expected_detail_ExpectedHelper::operator,

Comma operator that lets Expected::then handle lambdas returning void.

Synopsis

Declared in <folly/Expected.h>

template<class T>
T&&
operator,(
    T&& t,
    Unit unit) noexcept;

Return Value

t forwarded unchanged.

Parameters

NameDescription
tThe value produced by the continuation.
unitThe Unit tag distinguishing this overload.