Skip to content

get_header_value should not compile with unknown types #1638

@kiwixz

Description

@kiwixz

Currently an empty function gets called but doesn't return a value so at best it segfaults. See here.

One solution in recent standards would be to have some kind of static_assert; but in C++11 I don't know... Maybe to not define it so we get a linker error ?

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