4 #ifndef tools_charp_out
5 #define tools_charp_out
13 typedef std::string parent;
17 if(
sizeof(
unsigned long)==
sizeof(
char*)) {
18 snpf(s,
sizeof(s),
"%lu",a_value);
19 parent::operator+=(s);
20 }
else if(
sizeof(
unsigned long long)==
sizeof(
char*)) {
21 snpf(s,
sizeof(s),
"%llu",a_value);
22 parent::operator+=(s);
24 parent::operator+=(
"charp_out_failed");