Functional

Nobody Understands C++: Part 4: Functional Programming

Standard Algorithms

Few C++ developers seem to appreciate that the standard C++ library is actually designed around functional programming principles. The standard library headers algorithm and functional header files provide functional algorithms and facilitate their use, respectively.

As usual we will try to provide a simple example of why we should put to use the functional techniques in the standard library.

Syndicate content