projects
/
awesomized
/
libmemcached
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
Additional doc updates.
[awesomized/libmemcached]
/
libmemcached
/
options
/
lex_string.h
1
#pragma once
2
3
#include <stdlib.h>
4
#include <iostream>
5
6
struct
string_t
7
{
8
const char
*
c_str
;
9
size_t
length
;
10
};
11
12
inline std
::
ostream
&
operator
<<(
std
::
ostream
&
output
,
const
string_t
&
arg
)
13
{
14
output
<<
arg
.
c_str
;
15
return
output
;
16
}