Ignore:
Timestamp:
Apr 5, 2007, 4:17:30 PM (18 years ago)
Author:
rosiere
Message:

Interface normalisé
Début du banc de registres multi niveaux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Include/ToString.h

    r2 r15  
    1 #ifndef morpheo_Tostring
    2 #define morpheo_Tostring
     1#ifndef morpheo_tostring
     2#define morpheo_tostring
    33
    44/*
     
    2121namespace morpheo              {
    2222 
    23   template<typename T> inline std::string toString(const T& x)
     23  template<typename T> inline std::string toString             (const T& x)
    2424  {
    2525    ostringstream out;
     
    2828  }
    2929 
    30   template<> inline std::string toString<bool>       (const bool& x)
     30  template<>           inline std::string toString<bool>       (const bool& x)
    3131  {
    3232    ostringstream out;
     
    3636  }
    3737 
    38   template<> inline std::string toString<float>      (const float& x)
     38  template<>           inline std::string toString<float>      (const float& x)
    3939  {
    4040    const int sigdigits = std::numeric_limits<float>::digits10;
     
    4444  }
    4545 
    46   template<> inline std::string toString<double>     (const double& x)
     46  template<>           inline std::string toString<double>     (const double& x)
    4747  {
    4848    const int sigdigits = std::numeric_limits<double>::digits10;
     
    5252  }
    5353 
    54   template<> inline std::string toString<long double>(const long double& x)
     54  template<>           inline std::string toString<long double>(const long double& x)
    5555  {
    5656    const int sigdigits = std::numeric_limits<long double>::digits10;
Note: See TracChangeset for help on using the changeset viewer.