Changeset 10444


Ignore:
Timestamp:
04/21/11 13:58:11 (14 years ago)
Author:
tbretz
Message:
Added a new GetHey template for simplification.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Converter.h

    r10425 r10444  
    126126    }
    127127
     128    template<typename T, typename S>
     129        static std::string GetHex(const S &s, size_t col=0, bool prefix=true)
     130    {
     131        return GetHex<T>(&s, sizeof(S), col, prefix);
     132    }
     133
    128134    static std::vector<std::string> Regex(const std::string &expr, const std::string &line);
    129135};
Note: See TracChangeset for help on using the changeset viewer.