Ignore:
Timestamp:
Aug 9, 2014, 5:58:52 PM (5 years ago)
Author:
cameron
Message:

Eliminate INT2STRING in favor of std::to_string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/printer_re.cpp

    r3914 r3984  
    3535        {
    3636            retVal += "[";
    37             retVal += INT2STRING(it->lo_codepoint) + ",";
    38             retVal += INT2STRING(it->hi_codepoint);
     37            retVal += std::to_string(it->lo_codepoint) + ",";
     38            retVal += std::to_string(it->hi_codepoint);
    3939            retVal += "]";
    4040        }
     
    5757        {
    5858            retVal += "[";
    59             retVal += INT2STRING(r_it->lo_codepoint) + ",";
    60             retVal += INT2STRING(r_it->hi_codepoint);
     59            retVal += std::to_string(r_it->lo_codepoint) + ",";
     60            retVal += std::to_string(r_it->hi_codepoint);
    6161            retVal += "]";
    6262        }
     
    7575    else if (Rep* re_rep = dynamic_cast<Rep*>(re))
    7676    {
    77         retVal += "Rep("  + PrintRE(re_rep->getRE()) + "," + INT2STRING(re_rep->getLB()) + ",";
    78         retVal += (re_rep->getUB() == unboundedRep ? "Unbounded" : "UpperBound(" + INT2STRING(re_rep->getUB()) + ")");
     77        retVal += "Rep("  + PrintRE(re_rep->getRE()) + "," + std::to_string(re_rep->getLB()) + ",";
     78        retVal += (re_rep->getUB() == unboundedRep ? "Unbounded" : "UpperBound(" + std::to_string(re_rep->getUB()) + ")");
    7979    }
    8080    else if (Seq* re_seq = dynamic_cast<Seq*>(re))
Note: See TracChangeset for help on using the changeset viewer.