error: 'thread' is not a member of 'std' Gcc 8.2.0 code example
Example: error: ‘thread’ is not a member of std
#In Shell use -std flag and give the version you wanna use
g++ -std=c++17 hello.cpp
#In Shell use -std flag and give the version you wanna use
g++ -std=c++17 hello.cpp