#include <string>
Go to the source code of this file.
const unsigned int UnreasonablyLargeArray = 1000000 |
|
static |
This set of templates defines converters. The conversions are from string to object, object to string, and binary buffer to object, object to binary buffer. Many classes convert through a single template. Strings and other things with additional data need special converters. The key point is that the serialized form (buffer or output string) must have a complete independent copy of the data. So if a pointer or reference type is converted, then there must be a complete copy made.
Conv is used only during while the memory for the argument is stable. You can't create a Conv object from a variable, and free the variable before using the Conv.
Definition at line 29 of file Conv.h.