1 //===----------------------------------------------------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 // <mutex> 11 12 // class timed_mutex; 13 14 // timed_mutex& operator=(const timed_mutex&) = delete; 15 16 #include <mutex> 17 18 int main() 19 { 20 std::timed_mutex m0; 21 std::timed_mutex m1; 22 m1 = m0; 23 } 24