ccia_code_samples icon indicating copy to clipboard operation
ccia_code_samples copied to clipboard

Listing 8.11 - Compile Error

Open ITHelpDec opened this issue 1 year ago • 0 comments

Two changes are needed to get this code to compile:

  1. Change line 60 from return last to return (this is a void function, we our not returning an _OutputIterator
  2. Make addend a constant reference at line 27

One further change required to stop the code from crashing at runtime.

  1. Complete the join_threadsclass

ITHelpDec avatar Jun 26 '23 22:06 ITHelpDec