Skip to Content
C++ Reactive Programming
book

C++ Reactive Programming

by Praseed Pai, Peter Abraham
June 2018
Intermediate to advanced
348 pages
8h 45m
English
Packt Publishing
Content preview from C++ Reactive Programming

Creating a custom RxCpp operator in the library

Every operator in the RxCpp library is defined under rxcpp::operators namespaces. Within the rxcpp::operators namespace, library designers have created a nested namespace called details, where implementations of the operator logic are typically specified. To demonstrate the implementation of an operator from scratch, we have cloned the implementation of the map operator to create another operator, by the name of eval. The semantics of eval are the same as those of the map operator. The source code listing is available in a folder related to this particular chapter in the GitHub repository associated with this book.

We decided to move the book's code to the GitHub repository because the listing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Functional Programming in C++

Functional Programming in C++

Ivan Cukic

Publisher Resources

ISBN: 9781788629775Supplemental Content