C++程序  |  24行  |  628 B

//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <condition_variable>

// class condition_variable_any;

// condition_variable_any(const condition_variable_any&) = delete;

#include <condition_variable>
#include <cassert>

int main()
{
    std::condition_variable_any cv0;
    std::condition_variable_any cv1(cv0);
}