From: <sv...@ww...> - 2005-12-11 06:43:17
|
Author: mkrose Date: 2005-12-10 22:43:06 -0800 (Sat, 10 Dec 2005) New Revision: 1749 Modified: trunk/CSP/csp/csplib/numeric/Vector.h Log: Fix unqualified namespace. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1749 Modified: trunk/CSP/csp/csplib/numeric/Vector.h =================================================================== --- trunk/CSP/csp/csplib/numeric/Vector.h 2005-12-11 06:35:43 UTC (rev 1748) +++ trunk/CSP/csp/csplib/numeric/Vector.h 2005-12-11 06:43:06 UTC (rev 1749) @@ -256,9 +256,9 @@ CSP_NAMESPACE_END -template<typename T> std::ostream &operator<<(std::ostream& lhs, const numeric::Vector<T>& rhs) { +template<typename T> std::ostream &operator<<(std::ostream& lhs, const CSP(numeric::Vector<T>)& rhs) { if (!rhs.empty()) { - typename numeric::Vector<T>::cvi iBegin = rhs.begin(); + typename CSP(numeric::Vector<T>)::cvi iBegin = rhs.begin(); lhs << "(" << *iBegin; std::for_each(iBegin+1,rhs.end(),PrintElement<T>(lhs)); lhs << ") "; |