Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Explicit template instantiation #168

@KTRosenberg

Description

@KTRosenberg

I’m trying to reduce the compiletime of my project by explicitly instantiating templates, but am finding it challenging to figure out how to get explicit instantiation for robin_hood unordered node map / flat map to compile.
For an example, I am going for <unsigned int, std::vector>.

I’ve been successful before when it comes to getting explicit template instantiation working, but I believe robin_hood is somehow more complex and the compiler messages are quite vague.

Would you please advise on how to do explicit instantiation (extern template) in this case? I know it is probably going to use robon_hood::Table.

Thank you.

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