23 #include <boost/lexical_cast.hpp>
33 std::string to_string(T t)
35 return boost::lexical_cast<std::string>(t);
39 std::string& to_string(std::string &str, T t)
41 std::ostringstream o(str);
46 void bytesToHexdumpFormat(std::string &s,
const unsigned char *from,
size_t from_length);
48 DRIZZLED_API uint64_t drizzled_string_to_hex(
char *to,
const char *from, uint64_t from_size);
49 DRIZZLED_API void drizzled_hex_to_string(
char *to,
const char *from, uint64_t from_size);