Skip to content

Forward declaration fails with immer::map when it used to work #312

Description

@maltaisn

The following code:

#include <immer/map.hpp>

struct Foo;

struct Bar {
    immer::map<int, Foo> m;
};

Fails to compile on master. It worked in 0.8.1.

https://godbolt.org/z/9onYa383r

Is this expected?

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