From 901f6da81b5006d33d7ad1f97b70f4c60708d609 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 16 Oct 2015 12:05:06 +0200 Subject: Let operator<< be found via ADL Change-Id: I590ebb954ec249668a62c0c0a8959422af08485e --- include/basegfx/vector/b2ivector.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/basegfx') diff --git a/include/basegfx/vector/b2ivector.hxx b/include/basegfx/vector/b2ivector.hxx index 9c5b5165f527..e8fac19d81cf 100644 --- a/include/basegfx/vector/b2ivector.hxx +++ b/include/basegfx/vector/b2ivector.hxx @@ -139,14 +139,14 @@ namespace basegfx */ BASEGFX_DLLPUBLIC B2IVector operator*( const B2DHomMatrix& rMat, const B2IVector& rVec ); -} // end of namespace basegfx + template< typename charT, typename traits > + inline std::basic_ostream & operator <<( + std::basic_ostream & stream, const basegfx::B2IVector& vector ) + { + return stream << "(" << vector.getX() << "," << vector.getY() << ")"; + } -template< typename charT, typename traits > -inline std::basic_ostream & operator <<( - std::basic_ostream & stream, const basegfx::B2IVector& vector ) -{ - return stream << "(" << vector.getX() << "," << vector.getY() << ")"; -} +} // end of namespace basegfx #endif // INCLUDED_BASEGFX_VECTOR_B2IVECTOR_HXX -- cgit