Article ID: 133071
Article Last Modified on 7/5/2005
/* Compile options needed: (none)
*/
template <class T>
class C1 {
public:
C1();
void fn() throw(); // C2961 error - to work around, remove
"throw()"
};
template <class T>
void C1<T>::fn() throw() // C2961 error - to work around, remove
"throw()"
{}
/* Compile options needed: /W4
*/
class C2 {
public:
C2();
void fn() throw(); // compiler correctly generates C4290 warning
};
void C2::fn() throw() // compiler correctly generates C4290 warning
{}
Additional query words: 9.0 9.00 9.1 9.10 9.2 9.20
Keywords: kberrmsg kbbug kbfix kblangcpp kbvc500fix kbcode KB133071