File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 32
32
#include < tuple>
33
33
#include < vector>
34
34
35
+ #ifndef DOCUMENT
36
+ #define DOCUMENT (text )
37
+ #endif
38
+
35
39
// we provide a basic templated type that is a fixed array that just contains a pointer to the
36
40
// element
37
41
// array and a size. This could easily map to C as just void* and size but in C++ at least we can be
@@ -194,6 +198,7 @@ struct array
194
198
const T &back () const { return *(elems + count - 1 ); }
195
199
};
196
200
201
+ DOCUMENT (" " );
197
202
struct str : public rdctype ::array<char >
198
203
{
199
204
str &operator =(const std::string &in);
@@ -226,6 +231,7 @@ struct str : public rdctype::array<char>
226
231
return *this ;
227
232
}
228
233
234
+ DOCUMENT (" " );
229
235
void assign (const char *const in, int32_t inCount)
230
236
{
231
237
Delete ();
@@ -245,6 +251,7 @@ struct str : public rdctype::array<char>
245
251
}
246
252
247
253
operator const char *() const { return elems ? elems : " " ; }
254
+ DOCUMENT (" " );
248
255
const char *c_str () const { return elems ? elems : " " ; }
249
256
};
250
257
You can’t perform that action at this time.
0 commit comments