Language
C++
Compiler
clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 1c19900f9417bd0b832c1cb70863b2439a18647f)
Options
Warnings
Don't Use Boost
C++14
-pedantic
$ clang++ prog.cc -Wall -Wextra -std=c++14 -pedantic
Exit Code:
1
Author
anonymous
over 4 years ago
C++
clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 1c19900f9417bd0b832c1cb70863b2439a18647f)
Author
anonymous
over 4 years ago
$ clang++ prog.cc -Wall -Wextra -std=c++14 -pedantic
prog.cc:4:1: error: static_assert failed due to requirement '!__is_standard_layout(D)' "D is not a standard-layout class"
static_assert(!__is_standard_layout(D), "D is not a standard-layout class");
^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.