\#include "stdafx.h"\
\#include \<d3dx9math.h\>\
\
namespace ML{\
\
inline std::ostream &operator \<\< ( std::ostream &os, D3DXVECTOR3 &v ){\
os \<\< "(" \<\< v.x \<\< ", " \<\< v.y \<\< ", " \<\< v.z \<\< ")";\
\
return os;\
}\
}\
\
using ML::operator\<\<;\
\
int main(){\
D3DXVECTOR3 v(1,1,2);\
ML::operator\<\<( cout, v )
\<\< v \<\< endl;\
cout \<\< v \<\< endl;\
}