Functional-Style Programming in C++ - 0 views
-
Steven van Dijk on 05 Aug 12This article will focus on one of the most important functional programming constructs: working with values as opposed to identities. I'll discuss the strong support C++ has always had for working with values, then show how the new C++ 11 standard expands this support with lambdas. Finally, I'll introduce a method of working with immutable data structures that maintains the speed C++ is known for while providing the protection that functional languages have long enjoyed.