A
Alex
template <class T> void S(){ T t; }
struct A{ A(){} }; // died
//struct A{ ~A(){} }; // died
//struct A{void a(){}}; // not died
void kill(){
struct B{A a;};
S<B>();
}
void bill(){
struct B{A a;};
S<B>();
}
struct A{ A(){} }; // died
//struct A{ ~A(){} }; // died
//struct A{void a(){}}; // not died
void kill(){
struct B{A a;};
S<B>();
}
void bill(){
struct B{A a;};
S<B>();
}