21 #ifndef XAPIAN_INCLUDED_STR_H
22 #define XAPIAN_INCLUDED_STR_H
30 std::string
str(
int value);
33 std::string
str(
unsigned int value);
36 std::string
str(
long value);
39 std::string
str(
unsigned long value);
42 std::string
str(
long long value);
45 std::string
str(
unsigned long long value);
48 std::string
str(
double value);
51 std::string
str(
const void * value);
58 inline std::string
str(
const std::string & value) {
return value; }
61 inline std::string
str(
const char * value) {
return value; }
64 inline std::string
str(
bool value) {
65 return std::string(1,
'0' |
static_cast<char>(value));
string str(int value)
Convert int to std::string.
The Xapian namespace contains public interfaces for the Xapian library.