Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 675 for code


Ignore:
Timestamp:
Dec 23, 2007, 12:39:40 AM (17 years ago)
Author:
landauf
Message:

removed debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/misc/String2Number.h

    r667 r675  
    8080const std::string& number2String(T variable, const std::string& fallbackString)
    8181{
    82     std::cout << "N2Sa: " << variable << std::endl;
    83 
    8482    std::ostringstream oss;
    8583    if (oss << variable)
    86     {
    87     std::cout << "N2Sb: " << oss.str() << std::endl;
    8884        return *(new std::string(oss.str()));
    89     }
    9085
    9186    return fallbackString;
     
    124119bool string2Number(T& variable, const std::string& valueString, T fallbackValue)
    125120{
    126     std::cout << "S2Na: " << valueString << std::endl;
    127121    std::istringstream iss(valueString);
    128122    if (iss >> variable)
    129     {
    130     std::cout << "S2Nb: " << variable << std::endl;
    131123        return true;
    132     }
    133124
    134125    variable = fallbackValue;
Note: See TracChangeset for help on using the changeset viewer.