Illustrates how to create a non-generic C++ primitive operator which uses a sliding window. The code is header-only and uses the pimpl idiom to separate implementation from the code generator templates.
This post demonstrates how to write C++ native functions to add functionality to Streams. When we need to wrap a library so that we can use it from SPL, there are two options. One option is to add a new primitive operator. But an alternate choice is to add a native function. A native function is an SPL function where the code is written in C++ or Java.