ccia_code_samples icon indicating copy to clipboard operation
ccia_code_samples copied to clipboard

`thread_pool::task_handle<std::list<T>>` is not defined

Open ITHelpDec opened this issue 1 year ago • 0 comments

There's no mention of thread_pool::task_handle<std::list<T>> in the book or earlier in the examples until later on.

https://github.com/anthonywilliams/ccia_code_samples/blob/6e7ae1d66dbd2e8f1ad18a5cf5c6d25a37b92388/listings/listing_9.5.cpp#L32

std::future<std::list<T> is used in the book.

.is_ready() also doesn't exist because it looks like it's using an experimental future (see here), which never made it into the standard.

ITHelpDec avatar Aug 30 '23 07:08 ITHelpDec