>Submitter-Id: net
>Originator:
>Organization: Google, Inc.
>Confidential: no
>Synopsis: Segfault on compiling template defined in wrong namespace.
>Severity: non-critical
>Priority: low
>Category: c++
>Class: ice-on-illegal-code
>Release: 4.0.3 (Ubuntu 4.0
ect output, possibly suggesting that this bug is
Debian-specific. (You can test different compiler versions by passing
the compiler command to use as the script's first parameter. By
default it uses `g++`.)
-Kenton
===Program text===
#include
class A {
public:
bool moved = false;
A()
cides that D's
destructor is trivial. It seems to be affected by the presence of
virtual inheritance.
-Kenton
===copy constructors===
#include
class A {
public:
mutable bool copied = false;
A() = default;
A(const A& other) {
other.copied = true;
}
~A() {
printf
3 matches
Mail list logo