Language
C++
Compiler
clang 8.0.0
Options
Warnings
Don't Use Boost
C++2a
no pedantic
Raw compiler options
-fcoroutines-ts
-stdlib=libc++
$ clang++ prog.cc -Wall -Wextra -std=c++2a -fcoroutines-ts -stdlib=libc++
1. write-back
1. read-back
1. write-back
1. read-back
1. write-back
1. read-back
1. consumer loop exit
2. read-back
2. write-back
2. read-back
2. write-back
2. read-back
2. write-back
2. consumer loop exit
2. consumer_owner is going to return
2. read-back
2. producer loop exit
Exit Code:
0