realroot_doc 0.1.1
/Users/mourrain/Devel/mmx/realroot/include/realroot/print.hpp
Go to the documentation of this file.
00001 /*********************************************************************
00002 *      This file is part of the source code of realroot kernel.        *
00003 *      Author(s): B. Mourrain, GALAAD, INRIA                         *
00004 **********************************************************************
00005 **********************************************************************/
00006 #ifndef realroot_print_hpp
00007 #define realroot_print_hpp
00008 #define TMPL  template<class OSTREAM>
00009 
00010 //======================================================================
00011 namespace mmx {
00012 
00013   TMPL inline void  print(OSTREAM& os, int x)      { os<<x;}
00014   TMPL inline void  print(OSTREAM& os, long int x) { os<<x;}
00015   TMPL inline void  print(OSTREAM& os, unsigned x) { os<<x;}
00016   TMPL inline void  print(OSTREAM& os, double x)   { os<<x;}
00017   
00018 }
00019 #undef TMPL
00020 #endif // realroot_monom_hpp
00021