Skip to content

‘terminate’ is not a member of ‘std’ #55

@mokafolio

Description

@mokafolio

When compiling with exceptions disabled, I run into the following issue on gcc 12.1.0 using c++17:

error: ‘terminate’ is not a member of ‘std’
   73 |     std::terminate();
      |          ^~~~~~~~~

I need to include <exception> before span.hpp in order to fix it. Am I doing something wrong?

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