Changeset 10444


Ignore:
Timestamp:
Apr 21, 2011, 1:58:11 PM (9 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.