[Serialization] Does it leak memory when applied to shared_ptr?
When used for serialize the shared pointer, memory leak occurs.
I am not sure that is due to the internal bug or the wrong use of
serialization library.
The following is test code:
============================================================================
======
#include <iostream>
#include <cstddef>
#include <fstream>
#include <string>
#include <cstdio>
#include
"Peng.Huang"
participants (2)
-
Peng.Huang
-
Robert Ramey