#include <thread>
#include <condition_variable>
struct ThreadHandler {
void operator()() { }
std::condition_variable cond;
};
int main() {
ThreadHandler th1;
std::thread t1(std::ref(th1));
t1.join();
}
I2luY2x1ZGUgPHRocmVhZD4KI2luY2x1ZGUgPGNvbmRpdGlvbl92YXJpYWJsZT4KCnN0cnVjdCBUaHJlYWRIYW5kbGVyIHsKICAgIHZvaWQgb3BlcmF0b3IoKSgpIHsgfQoKICAgIHN0ZDo6Y29uZGl0aW9uX3ZhcmlhYmxlIGNvbmQ7IAp9OwoKaW50IG1haW4oKSB7CiAgICBUaHJlYWRIYW5kbGVyIHRoMTsKICAgIHN0ZDo6dGhyZWFkIHQxKHN0ZDo6cmVmKHRoMSkpOwogICAgdDEuam9pbigpOyAKfQ==