Skip to content

Compilation is broken with exceptions disabled #47

@viettrungluu

Description

@viettrungluu

Compilation is broken with exceptions disabled (for current HEAD of master).

I get

.../optional_lite/include/nonstd/optional.hpp:1662:22: error: 'nonstd::optional_lite::bad_optional_access' has not been declared
 using optional_lite::bad_optional_access;
                      ^

Presumably

using optional_lite::bad_optional_access;
should be gated on #if ! optional_CONFIG_NO_EXCEPTIONS.

I'd be happy to send a PR.

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