Commit 35c68eb5 by Robert Lipe

Move the ERROR lines to where the errors actually are.

From-SVN: r20137
parent 711734a9
......@@ -13,12 +13,12 @@ A<T>::test(){
cerr << "test for " << typeid(*this).name() << endl;
}
// Specialization declaration
void
A<double>::test();
void
A<double>::test(); // ERROR - not a specialization
// Specialization definition
void
A<double>::test(){ // ============= LINE 21 ==================
A<double>::test(){ // ERROR - not a specialization
cerr << "specialization for " << typeid(*this).name() << endl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment