ReactiveX / RxCpp

Reactive Extensions for C++
Apache License 2.0
3.03k stars 390 forks source link

Docs for flat_map should reference concat_map but instead reference flat_map #589

Open dagardner-nv opened 1 year ago

dagardner-nv commented 1 year ago

Line in question:

Rx/v2/src/rxcpp/operators/rx-flat_map.hpp

Observables, produced by the CollectionSelector, are merged. There is another operator rxcpp::observable<T,SourceType>::flat_map that works similar but concatenates the observables.

Doxygen link: http://reactivex.io/RxCpp/classrxcpp_1_1observable.html#ab1195b083ffa5a97fb1deb854c1e9bee

ghost commented 1 year ago

Just hit this issue myself; looks like there are several other functions with the same mistake (e.g. concat_map, concat_transform, flat_map and merge_transform).