Create a simple demonstrative example of Currying in the specific language.
Currying may be achieved in C++ using the Standard Template Library function object adapters (binder1st
and binder2nd
), and more generically using the Boost bind
mechanism.
Content is available under GNU Free Documentation License 1.2.