Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

C++

Compiler

clang 5.0.0

Options
Warnings
Boost 1.67.0
C++14
no pedantic

Author

anonymous

almost 7 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.67.0/clang-5.0.0/include -std=c++14
prog.cc:28:10: error: call to implicitly-deleted copy constructor of 'Something<int>'
    auto two = one;
         ^     ~~~
prog.cc:23:16: note: copy constructor of 'Something<int>' is implicitly deleted because field 'mutex_' has an inaccessible copy constructor
    std::mutex mutex_;
               ^
1 error generated.
Exit Code:
1