src/checkpoint/container/string_serialize.h file

Namespaces

namespace checkpoint

Functions

template<typename Serializer>
void serializeStringMeta(Serializer& s, std::string& str)
template<typename Serializer>
void serialize(Serializer& s, std::string& str)
Serialize string str.

Function documentation

template<typename Serializer>
void serialize(Serializer& s, std::string& str)

Serialize string str.

Parameters
s
str in string to serialize

Resizes a string to its actual size and serializes it. Note: footprinting mode does not detect small string optimization, so a limited overcount is possible.