Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VS 2005 died on template (part II)

2 views
Skip to first unread message

Alex

unread,
Mar 17, 2010, 6:27:01 AM3/17/10
to
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>();
}
0 new messages