Quantcast
Viewing all articles
Browse latest Browse all 32

Designing Classes for Serialization (2)

The complement of serialization is deserialization, and this is typically more difficult as it requires character- or pattern-matching of the input, plus checking for erroneous input. To match a stream of XML the possibility of using std::getline() was considered, but this is too inflexible as regards whitespace. Stream input to a std::string was also considered,… Continue reading Designing Classes for Serialization (2)

Viewing all articles
Browse latest Browse all 32

Trending Articles