Skip to content

deferred_heap.h:511 "attempt to dereference null" #25

@hia3

Description

@hia3

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<int, int>;
    deferred_ptr<my_map> scopes(h.make<my_map>(h));
}

it fails at deferred_heap.h:511

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions