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
Name |
Description |
t |
The value produced by the continuation. |
unit |
The Unit tag distinguishing this overload. |
Created with MrDocs