Re-add the use of Lazy objects in Compact_container

This commit is contained in:
Laurent Rineau 2020-05-20 10:32:03 +02:00
parent 319383c963
commit 8b474ddf59
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,8 @@ class Handle
bool identical(const Handle& h) const noexcept { return PTR == h.PTR; }
void * for_compact_container() const { return PTR; }
void for_compact_container(void* p) { PTR = static_cast<Rep*>(p); }
protected:
Rep* PTR;
};