June 2018
Intermediate to advanced
348 pages
8h 45m
English
The RxCpp library allows devolopers to chain or compose Operators to enable Operator composition. The library allows you to use the pipe (|) Operator to compose Operators (instead of the usual fluent interface using the "." ), and programmers can pipe the output of one Operator to another as if they are in the command line of a UNIX shell. This assists in comprehension (about what a piece of code does ). The following program uses the | Operator to map a range. The RxCpp samples contain many examples using pipe functions:
//------------------ Map_With_Pipe.cpp #include "rxcpp/rx.hpp" #include "rxcpp/rx-test.hpp" namespace Rx { using namespace rxcpp; using namespace rxcpp::sources; using namespace ...Read now
Unlock full access