gcpp icon indicating copy to clipboard operation
gcpp copied to clipboard

Experimental deferred and unordered destruction library for C++

Results 8 gcpp issues
Sort by recently updated
recently updated
newest added

How do you handle the situation in which you are creating a deferred_ptr to a child node in a member function of a parent node managed by the same deferred_heap...

enhancement

The public interface right now makes it impossible to implement dynamic_pointer_cast, const_pointer_cast, static_pointer_cast, and reinterpret_pointer_cast for deferred pointers. The deferred_ptr's converting constructor makes it possible to covert between any pointers...

enhancement

Hi! The gcpp is very interesting, but I'm failing to realize how it's supposed to work in multithreaded program. Especially the part that registers deferred_ptr objects and resets them in...

enhancement

This adds performance test that can work in two modes: 1) When executed without command line arguments, it prints on stdout: Inserting 5000 elements into deferred_vector is 1226 times slower...

When compiling the code with STL's STL (that comes with VS2017) #include "deferred_allocator.h" using namespace gcpp; int main() { deferred_heap h; using my_map = deferred_unordered_map; deferred_ptr scopes(h.make(h)); } it fails...

Will there be support for non-owning deferred_ptrs that will not prevent objects being destroyed (don't participate in the mark phase) but will get nulled when the object they refer to...

enhancement

I've implemented the array destructor storage compaction with support for merging and splitting w.r.t. the comment on [deferred_heap.h:77](https://github.com/hsutter/gcpp/blob/master/deferred_heap.h#L77). Although I've implemented the merging when a new object or array is...

enhancement

If I have the following code: ``` C++ #include #include struct S { std::vector v; }; int main() { auto p = std::make_shared(); p->v.push_back(1); auto a = std::shared_ptr(p, &p->v[0]); }...

enhancement