Name: Anonymous 2010-05-02 19:17
poly::poly() {
};
poly::poly(const poly& l) {
one = l.one;
};
poly::~poly() {
};
template<class T>
line 19 poly::list<T> getone() {
};
template<class T>
line 25 poly::void setone(list<T> l) {
};
poly::poly operator +(poly rhs) {
}
poly::poly operator -(poly rhs) {
}
poly::poly operator =(poly rhs) {
}
std::ostream& operator <<(std::ostream&, poly){}
std::istream& operator <<(std::istream&, poly&){}
poly.cpp:19: error: expected constructor, destructor, or type conversion before '<' token
poly.cpp:25: error: expected unqualified-id before "void"
poly.cpp:39: error: `poly operator=(poly)' must be a nonstatic member function
poly.cpp:39: error: `poly operator=(poly)' must take exactly two arguments
};
poly::poly(const poly& l) {
one = l.one;
};
poly::~poly() {
};
template<class T>
line 19 poly::list<T> getone() {
};
template<class T>
line 25 poly::void setone(list<T> l) {
};
poly::poly operator +(poly rhs) {
}
poly::poly operator -(poly rhs) {
}
poly::poly operator =(poly rhs) {
}
std::ostream& operator <<(std::ostream&, poly){}
std::istream& operator <<(std::istream&, poly&){}
poly.cpp:19: error: expected constructor, destructor, or type conversion before '<' token
poly.cpp:25: error: expected unqualified-id before "void"
poly.cpp:39: error: `poly operator=(poly)' must be a nonstatic member function
poly.cpp:39: error: `poly operator=(poly)' must take exactly two arguments