J
Jacob Foshee
Greetings,
Using MS Visual C++ .NET 2003, I have the following:
template <class T>
class vector3 {
// ...
friend ostream& operator<<(ostream&, const vector3<T>& ); // ostream
operator
}:
template <class T>
ostream& operator<<(ostream& o, const vector3<T>& u ) {
return o << u.x << ", " << u.y << ", " << u.z;
}
/////////////////////////////////
I cannot get this to link w/ VS03. (It can't find the operator)
From what I have been told, this runs under VS02. I get the same problem
for unary minus. Any ideas?
Thanks very much,
Jacob Foshee
Using MS Visual C++ .NET 2003, I have the following:
template <class T>
class vector3 {
// ...
friend ostream& operator<<(ostream&, const vector3<T>& ); // ostream
operator
}:
template <class T>
ostream& operator<<(ostream& o, const vector3<T>& u ) {
return o << u.x << ", " << u.y << ", " << u.z;
}
/////////////////////////////////
I cannot get this to link w/ VS03. (It can't find the operator)
From what I have been told, this runs under VS02. I get the same problem
for unary minus. Any ideas?
Thanks very much,
Jacob Foshee