Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C++

Compiler

clang HEAD 9.0.0 (https://github.com/llvm-mirror/clang.git 6ed0749151866894a67a3e7eefdc1f3a547daa0e) (https://github.com/llvm-mirror/llvm.git a10a70238ace1093cad3adeb94814b422bd1b5c1)

Options
Warnings
Boost 1.70.0
C++2a(GNU)
no pedantic

Author

anonymous

almost 6 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/clang-head/include -std=gnu++2a
prog.cc:6:5: error: implicit instantiation of undefined template 'TD<int>'
    TD<int> {};
    ^
prog.cc:2:8: note: template is declared here
struct TD;
       ^
prog.cc:7:5: error: implicit instantiation of undefined template 'TD<int &>'
    TD<int&> {};
    ^
prog.cc:2:8: note: template is declared here
struct TD;
       ^
prog.cc:8:5: error: implicit instantiation of undefined template 'TD<int &&>'
    TD<int&&> {};
    ^
prog.cc:2:8: note: template is declared here
struct TD;
       ^
prog.cc:9:5: error: implicit instantiation of undefined template 'TD<const int>'
    TD<const int> {};
    ^
prog.cc:2:8: note: template is declared here
struct TD;
       ^
prog.cc:10:5: error: implicit instantiation of undefined template 'TD<const int &>'
    TD<const int&> {};
    ^
prog.cc:2:8: note: template is declared here
struct TD;
       ^
prog.cc:11:5: error: implicit instantiation of undefined template 'TD<const int &&>'
    TD<const int&&> {};
    ^
prog.cc:2:8: note: template is declared here
struct TD;
       ^
6 errors generated.
Exit Code:
1