folly::gen to range-v3: relo op|
Summary:
Relocate "folly::gen to range-v3" pipe-adapters into the corresponding adapter-struct (fix compile-time errors, plus improve clarity about the linkage between the `operator|` and corresponding type).
Context: pipe-adapters ("pipe fittings") that allow a `|`-based pipeline mixing {std-containers and/or range-v3} with folly::gen, e.g.,
```
auto result = myVec // anything consistent with range-v3 or these adapters
| ranges::view::filter(...) // zero-or-more range-v3 pipe-elems
| <adapter-goes-here> // <==**one of the pipe-adapters provided by this task**
| folly::gen::blah(); // trailing pipe-elems are folly::gen
```
This diff relocates those folly::gen-to-range-v3 adapters.
Reviewed By: yfeldblum, ericniebler
Differential Revision: D16053008
fbshipit-source-id: 078a95990d5277ac0c4e02452cd8fd36bead8306
Showing
Please register or sign in to comment