◆ save() [2/2]

template<typename T >
std::string syten::save ( T &  t)

Save an object into a temporary file.

Generates a new filename in syten::cacheDir on-the-fly based on the current time and the address of the object.

tobject to save
the filename whereto the object was saved.

Definition at line 241 of file persistent.h.

References cacheFilename(), clearCache(), std::clock(), save(), and std::stringstream::str().

+ Here is the call graph for this function: