Free Electron
xstr.h
1 #ifndef XS_H_INCLUDED
2 #define XS_H_INCLUDED
3 
4 #include "xs_defs.h"
5 #include "xstring.h"
6 #include "fixed_char_buf.h"
7 #include "var_char_buf.h"
8 
9 XS_NAMESPACE(xstr)
10 
11 // Convenience typedefs. These give some generic names
12 // for some reasonable choices of implementation and
13 // buffer size.
14 typedef xstring<fixed_char_buf<32 > > string32;
15 typedef xstring<fixed_char_buf<64 > > string64;
16 typedef xstring<fixed_char_buf<128 > > string128;
17 
18 typedef xstring<var_char_buf<32> > varchar;
19 
20 XS_END_NAMESPACE
21 
22 #endif