Language
C++
Compiler
clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 47f7c9f1a774a48d11a686ab754f5a4b5342f5f5) (https://github.com/llvm-mirror/llvm.git b044a64d2770dbaeb9d29ae24c8edf36b3cd6fa6)
Options
Warnings
Boost 1.68.0
C++2a(GNU)
no pedantic
Raw compiler options
-Weverything
-Wno-c++98-compat
-Wno-missing-prototypes
-Wno-reserved-id-macro
impl.cpp
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-head/include -std=gnu++2a -Weverything -Wno-c++98-compat -Wno-missing-prototypes -Wno-reserved-id-macro impl.cpp
=== w/o std::launder ===
virtual char A::transmogrify()
virtual char A::transmogrify()
(1) obj.transmogrify() = A
(2) obj.transmogrify() = A
=== w/ std::launder ===
virtual char A::transmogrify()
virtual char B::transmogrify()
(1) obj.transmogrify() = A
(2) obj.transmogrify() = B
Exit Code:
0