Exploring Functions

The recipes included in this chapter are as follows:

  • Defaulted and deleted functions
  • Using lambdas with standard algorithms
  • Using generic lambdas
  • Writing a recursive lambda
  • Writing a function template with a variable number of arguments
  • Using fold expressions to simplify variadic function templates
  • Implementing higher-order functions map and fold
  • Composing functions into a higher-order function
  • Uniformly invoking anything callable
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset