Skip to content
Snippets Groups Projects
Commit bda4351c authored by Axel Naumann's avatar Axel Naumann
Browse files

Make TUniWeak out-streamable without weak_ptr or variant support.

Create two members, weak and unique_ptr, as I/O cannot handle variant. So we stream both.
O, and I/O cannot handle weak_ptr, but we really need it, so at least support writing (through THttpServer) by adding a `T*` with the same
value as the weak ptr, and have that streamed. This completely breaks the internal symmetry of TUniWeak, but it should get us started...
parent d86b14a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment