mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-30 02:47:09 +08:00
* Topic/optional monadic operations * topic/optional-monadic-operations: - added and_then, or_else, and transform to etl::optional with unit tests - added is_optional to optional.h, used in and_then and or_else to ensure that the returned type is an optional - implemented as ref-qualified overloads with C++11 compatible trailing return types, following the etl::expected implementation * Convert to C++11 style type traits * Coderabbit changes Constrain transform before forming etl::optional<U>. Remove references from monadic result types. * clang-format updates --------- Co-authored-by: John Wellbelove <john.wellbelove@etlcpp.com> Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| etl | ||