/** Writes an integer to a Regex code string, in little-endian order. */
template<typename T>
-void write_int(T n, Msp::Regex::Code &code)
+void write_int(T n, basic_string<unsigned char> &code)
{
for(unsigned i=0; i<sizeof(T); ++i)
code += (n>>(i*8))&0xFF;
/** Reads an integer from a Regex code string, in little-endian order. */
template<typename T>
-T read_int(Msp::Regex::Code::const_iterator &c)
+T read_int(basic_string<unsigned char>::const_iterator &c)
{
T result = 0;
for(unsigned i=0; i<sizeof(T); ++i)