Core C++

5. Abstraction🔗

Functions with parameters by value and by reference, return as a control result, lambdas with capture by copy, function values, and the program. The call evaluates the arguments left to right, allocates a fresh location with a copy for each parameter by value, binds each parameter by reference to the location of its argument, and removes the copies from \sigma on return.

  1. 5.1. Call
  2. 5.2. Parameters by reference
  3. 5.3. Lambdas and function values
  4. 5.4. Return
  5. 5.5. Function and program
  6. 5.6. Properties